Query for single entity.