QUERY PLAN
Sort (cost=25.27..25.33 rows=27 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_other_income_ticket_purchase_contract_settles (cost=0.00..24.62 rows=27 width=76)
Filter: (erp_other_income_ticket_id = ANY ('{5,7,6,4,3,2,1}'::integer[]))