QUERY PLAN
GroupAggregate (cost=261.88..261.97 rows=4 width=36)
Group Key: pre_sales_id
-> Sort (cost=261.88..261.89 rows=5 width=9)
Sort Key: pre_sales_id
-> Seq Scan on tbl_reimbursements (cost=0.00..261.82 rows=5 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (pre_sales_id = ANY ('{1838,1839,1837,1836,1832}'::integer[])))