QUERY PLAN
HashAggregate (cost=26.62..27.97 rows=60 width=168)
Group Key: product_id, erp_store_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..25.40 rows=61 width=24)
Filter: (product_id = ANY ('{2177,1558,2171,2261,2262,2269,1562,1584,2270,1372,1241,2091,2090,1528,2242,2268,2267,2265,2266,2263}'::integer[]))