QUERY PLAN
HashAggregate (cost=1.47..1.57 rows=4 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.36 rows=5 width=23)
Filter: (product_id = ANY ('{1511,1512,1624,1690,1691,900,942,941,922,1737,1801,1862,1863,1865,1880,1864,1866,1197,1867,1868,1869,1870,1871,1872,1873,1874,1876,1877,1879,1882,542,1883,1884,1885,1886,1889,1878,1881,1906,1907,220,329,637,855,853,899,960,1148,1196}'::integer[]))