QUERY PLAN
HashAggregate (cost=31.48..35.43 rows=79 width=520)
Group Key: product_id, erp_store_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..27.59 rows=82 width=92)
Filter: (product_id = ANY ('{2265,2177,2261,867,868,1558,2231,989,2232,969,870,1372,2269,1943,1373,1025,2267,1339,2230,2233}'::integer[]))