QUERY PLAN
GroupAggregate (cost=302.30..302.38 rows=4 width=36)
Group Key: pre_sales_id
-> Sort (cost=302.30..302.31 rows=4 width=9)
Sort Key: pre_sales_id
-> Seq Scan on tbl_reimbursements (cost=0.00..302.26 rows=4 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (pre_sales_id = ANY ('{1939,1934,1933,1935}'::integer[])))