I have this MongoDB console command:
db.transactions.find({itemid: 1234}).min({time: 1608526637000}).max({time: 1608525314845}).hint({time: -1})