What is indexed

When executing the following query:

SELECT mean(“speed”) AS “mean_speed” FROM “mydb”.“car” WHERE time > x AND time < y GROUP BY time(1d)

Is only data between the two time ranges loaded into memory?