QUERY PLAN
Sort (cost=35.85..35.99 rows=56 width=52)
Sort Key: id
-> Seq Scan on tbl_erp_wage_ticket_amount_payments (cost=0.00..34.23 rows=56 width=52)
Filter: (erp_wage_ticket_id = ANY ('{13,8,4,10,9,7,6,5,3,2,1}'::integer[]))