QUERY PLAN
Sort (cost=25.86..25.93 rows=28 width=72)
Sort Key: id
-> Seq Scan on tbl_erp_other_payment_ticket_amounts (cost=0.00..25.19 rows=28 width=72)
Filter: (erp_other_payment_ticket_id = ANY ('{8,7,6,5,2,4,1}'::integer[]))