Performance enhancement for load by primary keys