First, you need to determine the level of precision you need to query by. In the following example, it ends up being timeboxed into 10 second bins, but in groups of 100 different entities (or meters in this example):
Then, answering a query like:
Give me <45 minutes> worth of data from <18 hours ago> for entities <1, 2, 226, 301>