QUERY PLAN
HashAggregate (cost=1.39..1.49 rows=4 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..1.28 rows=5 width=23)
Filter: (product_id = ANY ('{965,1529,1530,1690,1691,1662,1668,942,941,1724,1755,1757,1756,1758,1759,1760,1761,1762,1763,1766,1769,1767,1770,1771,1772,1773,1774,1764,229,196,861,871,968,1104,1303,1307,1470}'::integer[]))