QUERY PLAN
Sort (cost=1.38..1.40 rows=7 width=84)
Sort Key: id
-> Seq Scan on tbl_erp_other_income_ticket_purchase_contract_settles (cost=0.00..1.28 rows=7 width=84)
Filter: (erp_other_income_ticket_id = ANY ('{39,42,41,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,22}'::integer[]))