QUERY PLAN
Seq Scan on tbl_erp_wage_ticket_amount_payments (cost=0.00..48.25 rows=112 width=52)
Filter: (erp_wage_ticket_amount_id = ANY ('{359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380}'::integer[]))