QUERY PLAN
GroupAggregate (cost=334.68..334.81 rows=6 width=36)
Group Key: pre_sales_id
-> Sort (cost=334.68..334.70 rows=7 width=9)
Sort Key: pre_sales_id
-> Seq Scan on tbl_reimbursements (cost=0.00..334.58 rows=7 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (pre_sales_id = ANY ('{1938,1936,1937,1943,1944,1941,1942}'::integer[])))