QUERY PLAN
HashAggregate (cost=29.29..31.13 rows=82 width=168)
Group Key: product_id, erp_store_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..27.59 rows=85 width=24)
Filter: (product_id = ANY ('{1558,868,1562,2177,2262,2171,2269,2261,1372,2242,2255,2074,1234,941,1224,2073,2078,2080,1025,2086}'::integer[]))