QUERY PLAN
HashAggregate (cost=29.80..30.05 rows=14 width=100)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..29.62 rows=14 width=12)
Filter: ((inventory > '0'::numeric) AND (product_id = ANY ('{1025,1372,2261,2265,2177,870,1558,2232,868,969,867,989,2231,2269,2267,1562,2262,2171,2242,2255}'::integer[])))