QUERY PLAN
HashAggregate (cost=145.53..145.63 rows=10 width=12)
Group Key: sales_rep
-> Seq Scan on tbl_clients (cost=0.00..140.32 rows=1041 width=4)
Filter: ((NOT deleted) AND (sales_rep = ANY ('{5332,1001,5087,5467,5300,5311,5295,1013,5476,1004,1005,5449}'::integer[])))