Better way/Latency-free to scan lastseen DB