QUERY PLAN
Sort (cost=2.66..2.71 rows=20 width=72)
Sort Key: id
-> Seq Scan on tbl_erp_other_payment_ticket_amounts (cost=0.00..2.23 rows=20 width=72)
Filter: (erp_other_payment_ticket_id = ANY ('{36,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17}'::integer[]))