QUERY PLAN
HashAggregate (cost=1.41..1.51 rows=4 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.29 rows=5 width=23)
Filter: (product_id = ANY ('{1511,1586,1692,1677,941,1770,969,1353,1902,1903,1914,1915,1916,1922,1923,1924,1925,1927,1928,1929,1930,1931,1934,1935,1936,1937,1938,1940,540,498,9,849,989,1009,1104,1178,1340,1372,1471}'::integer[]))