v.23.5Performance Improvement

Use Aggregate Projection for Fewer Granules in ClickHouse Queries

Use aggregate projection only if it reads fewer granules than normal reading. It should help in case if query hits the PK of the table, but not the projection. Fixes #49150. #49417 (Nikolai Kochetov).