QUERY PLAN
HashAggregate (cost=149.11..149.20 rows=9 width=12)
Group Key: sales_rep
-> Seq Scan on tbl_clients (cost=0.00..143.94 rows=1033 width=4)
Filter: ((NOT deleted) AND (sales_rep = ANY ('{5500,5499,5332,1001,5087,5467,5300,5311,5295,1013,5476,1004,1005,5449}'::integer[])))