QUERY PLAN
HashAggregate (cost=31.86..36.21 rows=87 width=520)
Group Key: product_id, erp_store_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..27.59 rows=90 width=92)
Filter: (product_id = ANY ('{2177,2265,2261,969,867,2232,1558,868,870,2231,989,1372,2269,1025,2267,1562,2262,2171,2242,2255}'::integer[]))