QUERY PLAN
HashAggregate (cost=1.56..1.66 rows=4 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.44 rows=5 width=23)
Filter: (product_id = ANY ('{1615,1689,1690,1691,1692,1693,1694,1695,1696,1698,1751,1677,1705,1706,1709,1708,1710,1697,1707,1711,1739,942,941,1700,1712,1714,1715,1716,1717,1728,1737,1738,1747,1748,1749,1750,1752,1754,1719,1730,1740,1753,1735,1722,1731,1741,1723,1732,1742,1733,1743,1744,1745,1746,88,849,800,882,1107,1076,1159,1340,1471}'::integer[]))