QUERY PLAN
Sort (cost=19.87..19.89 rows=8 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_sales_contract_settles (cost=0.00..19.75 rows=8 width=76)
Filter: (erp_cash_cost_ticket_id = ANY ('{10,7}'::integer[]))