QUERY PLAN
HashAggregate (cost=1.55..1.65 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 ('{1580,1573,1574,1624,1575,1690,1691,1670,1696,1677,1705,942,941,1770,1775,1776,1777,1779,1780,1781,1786,1787,1790,1792,1793,1794,1795,1782,1788,1791,1807,1783,1789,1798,1801,1802,1800,1803,1804,1805,1808,1809,1810,1811,1077,1784,1799,1806,1785,1351,1812,121,376,849,980,981,1107,1156,1196,1340,1354,1471}'::integer[]))