QUERY PLAN
HashAggregate (cost=1.49..1.62 rows=5 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.33 rows=7 width=20)
Filter: (product_id = ANY ('{1511,1647,1690,1691,942,941,2055,2050,2051,2053,2054,2056,2057,2052,2059,2058,2060,2061,2063,2066,2069,2062,978,1372,1483,1484,1485,2068,2067,2049}'::integer[]))