QUERY PLAN
HashAggregate (cost=13.77..14.97 rows=48 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..12.65 rows=50 width=20)
Filter: (product_id = ANY ('{1624,1774,2166,1340,1191,1471,849,1107,936,2074,2073,2008,1190,2162,2165,2161,2164,952,2127,942}'::integer[]))