Send key predicate to the database rather than selecting the entire world and then filtering