QUERY PLAN
Sort (cost=38.77..38.93 rows=66 width=52)
Sort Key: id
-> Seq Scan on tbl_erp_wage_ticket_amount_payments (cost=0.00..36.78 rows=66 width=52)
Filter: (erp_wage_ticket_id = ANY ('{14,13,12,11,9,8,7,6,5,4,3,2,1}'::integer[]))