QUERY PLAN
HashAggregate (cost=26.71..28.16 rows=64 width=168)
Group Key: product_id, erp_store_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..25.40 rows=66 width=24)
Filter: (product_id = ANY ('{2171,2269,2262,1584,1562,2177,2261,1372,2242,2255,2074,1234,941,1224,2078,2073,2080,1025,2086,2085}'::integer[]))