QUERY PLAN
Sort (cost=3.01..3.06 rows=20 width=24)
Sort Key: id
-> Seq Scan on tbl_erp_other_payment_ticket_amounts (cost=0.00..2.58 rows=20 width=24)
Filter: (erp_other_payment_ticket_id = ANY ('{60,59,58,57,56,55,54,53,52,51,50,49,48,47,44,46,43,42,41,40}'::integer[]))