QUERY PLAN
HashAggregate (cost=1.46..1.56 rows=4 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.35 rows=5 width=23)
Filter: (product_id = ANY ('{870,972,1615,1624,1650,1690,1691,942,941,1794,1813,1834,1837,1839,1840,1088,1842,1844,1846,1849,1850,1852,1854,892,1853,1812,1855,1856,1857,1858,1859,1843,1845,1847,1848,1860,969,1957,1090,1091,1089,1100,1065,994,1229,1357,1456,1486}'::integer[]))