QUERY PLAN
GroupAggregate (cost=450.50..450.56 rows=3 width=36)
Group Key: pre_sales_id
-> Sort (cost=450.50..450.50 rows=3 width=9)
Sort Key: pre_sales_id
-> Seq Scan on tbl_reimbursements (cost=0.00..450.47 rows=3 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (pre_sales_id = ANY ('{1938,1936,1937}'::integer[])))