QUERY PLAN
Sort (cost=1.23..1.25 rows=5 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_purchase_contract_settles (cost=0.00..1.18 rows=5 width=76)
Filter: (erp_cash_cost_ticket_id = ANY ('{7124,7005,7004,6994,6910,6907,6906,6905,6904,6900,6899,6898,6897,6896,6745,6744,6743,6742,6741,6740}'::integer[]))