QUERY PLAN
Index Scan using tbl_erp_sales_order_products_pkey on tbl_erp_sales_order_products (cost=0.28..50.29 rows=62 width=172)
Index Cond: (id = ANY ('{1363,1664,1665,1666,1667,1569,1484,1485,1486,1487,1628,1629,1630,1709,1710,1711,1803,1804,1805,1806,1807,1536,1537,1538,1714,1715,1716,1717,1718,1719,1728,1729,1494,1495,1496,1432,1433,1448,1449,1450,1451,1452,1453,1454,1456,1457,1458,1507,1508,1509,1510,1511,1512,1513,1686,1431,1455,1627,1713,1829,1831,1808}'::integer[]))