SELECT 
  c.product_id AS cur_product_id, 
  a.*, 
  b.option_name, 
  b.internal_option_name, 
  b.option_text, 
  b.description, 
  b.inner_hint, 
  b.incorrect_message, 
  b.comment 
FROM 
  cscart_product_options as a 
  LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id 
  AND b.lang_code = 'pl' 
  LEFT JOIN cscart_product_global_option_links as c ON c.option_id = a.option_id 
WHERE 
  c.product_id IN (
    1987, 
    2110, 
    2111, 
    2112, 
    1900, 
    1813, 
    1820, 
    2366, 
    1897, 
    1750, 
    1924, 
    2227, 
    2204, 
    2010, 
    2309, 
    2060, 
    2122, 
    2274, 
    2061, 
    1918, 
    1913, 
    1958, 
    2290, 
    1751, 
    1957, 
    2202, 
    1814, 
    2331, 
    1748, 
    2005, 
    2214, 
    2342, 
    2215, 
    2211, 
    2225, 
    2212, 
    2213, 
    2226, 
    2151, 
    1882, 
    1815, 
    1853, 
    1759, 
    2001, 
    2276, 
    2231, 
    2281, 
    2379, 
    2388, 
    2115, 
    1929, 
    2373, 
    2372, 
    2374, 
    1760, 
    1807, 
    1847, 
    2363, 
    1816, 
    2146, 
    2201, 
    2386, 
    2359, 
    2279, 
    1843, 
    1859, 
    1794, 
    1793, 
    1817, 
    1795, 
    2278, 
    1818, 
    1784, 
    1819, 
    1849, 
    2338, 
    2383, 
    2337, 
    2336, 
    2389, 
    1802, 
    1801, 
    1880, 
    1767, 
    2346, 
    2301, 
    2081, 
    1947, 
    2157, 
    2207, 
    2142, 
    2121, 
    2375, 
    2088, 
    2089, 
    2090, 
    2087, 
    2158, 
    1787, 
    2105, 
    2133, 
    2125, 
    2092, 
    2093, 
    2046, 
    2045, 
    2044, 
    2047, 
    2049, 
    2048, 
    1995, 
    1943, 
    2120, 
    2094, 
    2385, 
    1989, 
    2314, 
    1951, 
    2096, 
    1988, 
    2098, 
    2097, 
    2099, 
    2199, 
    2200, 
    1948, 
    2095, 
    2100, 
    2124, 
    2101, 
    2134, 
    2198, 
    2291, 
    2103, 
    2307, 
    2166, 
    2208, 
    2102, 
    2104, 
    2345, 
    2143, 
    2119, 
    2144, 
    2362, 
    2233, 
    2350, 
    2232, 
    2244, 
    2051, 
    1855, 
    2367, 
    1808, 
    1891, 
    1892, 
    2368, 
    2393, 
    1952, 
    1939, 
    1930, 
    1764
  ) 
  AND a.product_id = 0 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}