QUERY PLAN
Seq Scan on tbl_erp_purchase_costs (cost=0.00..3.82 rows=20 width=341)
Filter: (purchase_contract_id = ANY ('{4398,4401,4397,4395,4391,4416,4392,4387,4389,4384,4382,4380,4379,4376,4372,4370,4369,4368,4367,4365}'::integer[]))