QUERY PLAN
GroupAggregate (cost=315.32..316.12 rows=39 width=36)
Group Key: client_id
-> Sort (cost=315.32..315.43 rows=41 width=9)
Sort Key: client_id
-> Seq Scan on tbl_reimbursements (cost=0.00..314.23 rows=41 width=9)
Filter: ((status = ANY ('{2,3}'::integer[])) AND (client_id = ANY ('{1661,146,982,2538,2616,1933,3081,3372,3364,3344}'::integer[])))