QUERY PLAN
HashAggregate (cost=1.74..1.87 rows=5 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.47 rows=12 width=21)
Filter: (product_id = ANY ('{1511,1647,1691,942,941,2055,2056,2057,2059,2058,2066,2069,947,978,1372,1483,1484,1485,2068,2067,2049}'::integer[]))