QUERY PLAN
HashAggregate (cost=286.95..289.10 rows=172 width=36)
Group Key: client_id
-> Seq Scan on tbl_reimbursements (cost=0.00..285.85 rows=220 width=9)
Filter: ((status = ANY ('{3,2}'::integer[])) AND (client_id = ANY ('{189,54,1307,528,304,107,1121,518,3317}'::integer[])))