QUERY PLAN
HashAggregate (cost=1.49..1.59 rows=4 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.38 rows=5 width=23)
Filter: (product_id = ANY ('{965,1520,821,1518,1521,1519,972,1547,1545,1546,1549,1536,1548,1557,1589,1592,1594,1598,1599,1590,1593,1597,1610,1591,1611,1612,1620,942,941,1913,229,421,518,582,41,970,1019,742,1015,151,1018,1016,1161,1092,1160,1128,1178,1085,1201,1337,1376,1454,1455}'::integer[]))