QUERY PLAN
Index Scan using tbl_erp_sales_order_products_pkey on tbl_erp_sales_order_products (cost=0.28..65.88 rows=82 width=89)
Index Cond: (id = ANY ('{2138,2150,2166,2167,2168,2169,2170,2171,2172,2173,2174,2175,2176,2177,2199,2210,2211,2212,2213,2246,2217,2242,2220,2221,2222,2223,2231,2232,2225,2230,2234,2239,2240,2243,2245,2241,2280,2281,2282,2283,2284,2287,2272,2275,2276,2277,2278,2279,2260,2261,2262,2263,2264,2265,2268,2269,2288,2289,2290,2291,2292,2236,2237,2233,2238,2235,2293,2294,2295,2296,2297,2259,2273,2274,2285,2286,2298,2299,2300,2301,2302,2303}'::integer[]))