QUERY PLAN
Sort (cost=39.75..39.95 rows=78 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_purchase_contract_settles (cost=0.00..37.30 rows=78 width=76)
Filter: (erp_cash_cost_ticket_id = ANY ('{7350,7348,7354,7356,7355,7353,7352,7351,7346,7347,7335,7334,7,6,5,3,7349,7332,7331,7330}'::integer[]))