Datastore fetching with indexes