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