Removes unnecessary reads when selecting key or count(*)