SELECT 
  cscart_product_feature_variant_descriptions.variant, 
  cscart_product_feature_variants.variant_id, 
  cscart_product_feature_variants.feature_id, 
  cscart_product_features_values.variant_id as selected, 
  cscart_product_features.feature_type, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_product_feature_variants 
  LEFT JOIN cscart_product_feature_variant_descriptions ON cscart_product_feature_variant_descriptions.variant_id = cscart_product_feature_variants.variant_id 
  AND cscart_product_feature_variant_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_product_features_values ON cscart_product_features_values.variant_id = cscart_product_feature_variants.variant_id 
  AND cscart_product_features_values.lang_code = 'en' 
  AND cscart_product_features_values.product_id = 3107 
  AND cscart_product_features_values.feature_id = cscart_product_feature_variants.feature_id 
  LEFT JOIN cscart_product_features ON cscart_product_features.feature_id = cscart_product_feature_variants.feature_id 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_product_feature_variants.variant_id 
  AND cscart_seo_names.type = 'e' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  ) 
WHERE 
  1 
  AND cscart_product_feature_variants.feature_id IN (
    595, 550, 628, 624, 626, 605, 627, 631, 
    633
  ) 
GROUP BY 
  cscart_product_feature_variants.variant_id 
ORDER BY 
  cscart_product_feature_variants.position, 
  cscart_product_feature_variant_descriptions.variant

Query time 0.00409

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "496.56"
    },
    "ordering_operation": {
      "using_filesort": true,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_product_feature_variants",
              "access_type": "ALL",
              "possible_keys": [
                "PRIMARY",
                "feature_id"
              ],
              "rows_examined_per_scan": 779,
              "rows_produced_per_join": 297,
              "filtered": "38.25",
              "cost_info": {
                "read_cost": "49.56",
                "eval_cost": "29.80",
                "prefix_cost": "79.36",
                "data_read_per_join": "339K"
              },
              "used_columns": [
                "variant_id",
                "feature_id",
                "position"
              ],
              "attached_condition": "(`gaseus`.`cscart_product_feature_variants`.`feature_id` in (595,550,628,624,626,605,627,631,633))"
            }
          },
          {
            "table": {
              "table_name": "cscart_product_feature_variant_descriptions",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "variant_id",
                "lang_code"
              ],
              "key_length": "9",
              "ref": [
                "gaseus.cscart_product_feature_variants.variant_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 297,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "74.50",
                "eval_cost": "29.80",
                "prefix_cost": "183.66",
                "data_read_per_join": "928K"
              },
              "used_columns": [
                "variant_id",
                "variant",
                "lang_code"
              ]
            }
          },
          {
            "table": {
              "table_name": "cscart_product_features_values",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "fl",
                "variant_id",
                "lang_code",
                "product_id",
                "fpl",
                "idx_product_feature_variant_id"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "feature_id",
                "product_id",
                "variant_id",
                "lang_code"
              ],
              "key_length": "15",
              "ref": [
                "gaseus.cscart_product_feature_variants.feature_id",
                "const",
                "gaseus.cscart_product_feature_variants.variant_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 297,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "74.50",
                "eval_cost": "29.80",
                "prefix_cost": "287.96",
                "data_read_per_join": "230K"
              },
              "used_columns": [
                "feature_id",
                "product_id",
                "variant_id",
                "lang_code"
              ]
            }
          },
          {
            "table": {
              "table_name": "cscart_product_features",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "feature_id"
              ],
              "key_length": "3",
              "ref": [
                "gaseus.cscart_product_feature_variants.feature_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 297,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "74.50",
                "eval_cost": "29.80",
                "prefix_cost": "392.26",
                "data_read_per_join": "351K"
              },
              "used_columns": [
                "feature_id",
                "feature_type"
              ]
            }
          },
          {
            "table": {
              "table_name": "cscart_seo_names",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY",
                "dispatch"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "object_id",
                "type",
                "dispatch",
                "lang_code"
              ],
              "key_length": "206",
              "ref": [
                "gaseus.cscart_product_feature_variants.variant_id",
                "const",
                "const",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 297,
              "filtered": "100.00",
              "index_condition": "<if>(is_not_null_compl(cscart_seo_names), ((`gaseus`.`cscart_seo_names`.`company_id` = 1) or (`gaseus`.`cscart_seo_names`.`company_id` = 0)), true)",
              "cost_info": {
                "read_cost": "74.50",
                "eval_cost": "29.80",
                "prefix_cost": "496.56",
                "data_read_per_join": "505K"
              },
              "used_columns": [
                "name",
                "object_id",
                "company_id",
                "type",
                "dispatch",
                "path",
                "lang_code"
              ]
            }
          }
        ]
      }
    }
  }
}

Result

variant variant_id feature_id selected feature_type seo_name seo_path
-1 to 1 1968 633 S
-1 to 15 1961 633 S
-1 to 16 1960 633 S
-1 to 3 1940 633 S
-1 to 5 1947 633 S
-1 to 9 1948 633 S
-1-1,5 2240 631 S
-1-3 2241 631 S
-1-5 2242 631 S
-1-9 2243 631 S
0 to 0,06 1970 633 S
0 to 0,060 1964 633 S
0 to 0,160 1965 633 S
0 to 0,250 1981 633 S
0 to 0,400 1966 633 S
0 to 0,600 1967 633 S
0 to 1 1982 633 S
0 to 1,6 2009 633 S
0 to 10 2193 631 S
0 to 100 1950 631 S
0 to 100 2030 633 S
0 to 16 1919 633 S
0 to 16 1963 631 S
0 to 160 2102 633 S
0 to 160 1976 631 S
0 to 2,5 1927 633 1927 S
0 to 2,5 2071 631 S
0 to 20 2008 633 S
0 to 22 2010 633 S
0 to 25 1951 633 S
0 to 250 1955 631 S
0 to 30 1990 633 S
0 to 315 1939 631 S
0 to 315 2103 633 S
0 to 4 2050 633 S
0 to 40 1918 631 1918 S
0 to 40 1987 633 S
0 to 400 2015 631 S
0 to 400 2150 633 S
0 to 49 2039 633 S
0 to 50 1991 633 S
0 to 50 2040 631 S
0 to 6 1993 633 S
0 to 6 2190 631 S
0 to 60 1997 631 S
0 to 60 1979 633 S
0 to 600 1971 631 S
0 to 75 2011 633 S
0,3 2021 626 N
0,84 2022 626 N
0,9 2027 626 N
0-100 2238 631 S
0-16 2234 631 S
0-25 2235 631 S
0-250 2244 631 S
0-315 2239 631 S
0-40 2236 631 S
0-400 2245 631 S
0-60 2237 631 S
1 1695 626 N
1,02 2019 626 N
1,2 2007 626 N
1,38 2023 626 N
1,5 2070 624 N
1,5 1682 633 S
1,8 1989 626 N
1,92 2020 626 N
10 2003 626 N
10 1708 633 S
100 1807 633 S
100 1876 624 N
100 1877 631 S
105 2191 626 N
1100 2161 626 N
12 1866 624 N
12 2195 626 N
120 1723 626 N
125 1827 626 N
130 1978 626 N
140 1727 626 N
15 2192 626 N
150 2049 626 N
16 1962 624 N
16 1869 631 S
160 1856 626 N
170 1879 626 N
1700 2045 626 N
175*128*167 mm 2394 605 M
18 1680 626 N
180 2035 626 N
1900 2038 626 N
2,04 2151 626 N
2,4 2017 626 N
20 1671 633 S
20 1694 624 1694 N
200 1705 624 N
200 1707 631 S
200 1754 633 S
210 2381 624 N
2100 2037 626 N
230 2152 626 N
2400 2060 626 N
25 1679 624 N
25 1681 631 S
250 1829 626 N
28 1711 626 N
280 2063 626 N
290 2031 626 N
3 1742 626 N
30 1928 626 N
300 2051 626 N
300 1803 624 N
300 1804 631 S
350 2068 626 N
370 2064 626 N
380 1753 626 N
4 1696 633 S
4,8 2018 626 N
40 1675 624 N
40 1715 626 N
40 1716 633 S
400 2226 624 N
45 1917 626 N
450 2032 626 N
48 1706 626 N
480 2057 626 N
5 1718 626 N
5 2389 627 S
5,58 2024 626 N
50 2036 624 N
50 2043 626 N
550 2067 626 N
6 2054 624 N
60 1657 624 N
60 1670 631 S
60 1728 633 S
60 1768 626 N
70 1949 624 N
70 2069 626 N
700 2194 626 N
75 1721 626 N
8 1926 626 1926 N
8 1992 624 N
8,5 2013 626 N
80 1980 624 N
90 1658 626 N
Acetylene (C2H2) 2000 595 S
Argon 1908 595 S
Argon (Ar) 1789 595 S
Argon (Ar), Carbon dioxide (CO2) 1929 595 S
Argon (Ar), Helium (He), Carbon dioxide (CO2) 1943 595 S
Automotive Industry 1663 605 1663 M
Automotive Industry| Chemical Industry| Petrochemical Industry| Pharmaceutical Industry| Welding| Cutting| Research & Development| Manufacturing Industry 2165 605 M
Brass / Stainless Steel 316L 2277 627 S
Carbon Dioxide (CO2) 1748 595 S
Carbon monoxide (CO) 1984 595 S
Chemical Industry 1977 605 1977 M
Chlorine (Cl) 2076 595 S
Chlorine (Cl), Nitrogen dioxide (NO2), Nitric oxide (NO) 1956 595 S
Chrome-plated 2290 627 S
Chrome-plated brass 2378 627 S
Co2 1781 595 S
Co2,MISONĀ® 1538 595 S
Compressed air 1462 595 S
Compressed Air (mixture) 1899 595 1899 S
Compressed air,Helium,Nitrogen,Oxygen 1611 595 S
Compressed air,Hydrogen 1392 595 S
Compressed air,Nitrogen 1553 595 S
Compressed air,Nitrogen,Oxygen 1609 595 S
Compressed air,Oxygen 1571 595 S
Compressed air,Oxygen,Hydrogen 1636 595 S
Compressed air,Oxygen,MISONĀ® 1577 595 S
Corrosive gases (mixture) 2074 595 S
Cutting 1667 605 1667 M
Cylinder regulators 1933 550 S
DIN 477-1 No. 10 Nitrogen (N2) W 24.32 x 1/14" RH/max. 200 bar 2185 624 N
DIN 477-1 No. 14 Test gases M19x1.5 LH/max. 300 bar 2186 624 N
DIN 477-1 No. 6 Inert gases (Ar, Co2, He, etc.) W 21.8 x 1/14" RH/max. 200 bar 2183 624 N
DIN 477-1 No. 9 Synthetic Air, Oxygen (O2) G 3/4" RH/max. 200 bar 2184 624 N
DIN 477-5 No. 54 non-flammable, non-toxic, non-oxidizing gases W 30 x 2 RH/max. 300 bar 2187 624 N
DIN 477-5 No. 57 flammable, non-toxic gases and gas mixtures W 30 x 2 LH 2188 624 N
Double stage 1712 628 S
Ethene (C2H4) 1994 595 S
Ethylene (C2H4) 2075 595 S
Ethylene (C2H4), Forming gases (mixture), Methane (CH4), Propane (C3H8), Hydrogen (H2) 1986 595 S
Ethylene (C2H4), Methane (CH4), Propane (C3H8), Hydrogen (H2) 1934 595 S
Forming gases 1491 595 S
Forming gases (mixture) 1988 595 S
Forming gases (mixture), Hydrogen (H2) 1985 595 S
Forming gases(mixture) 1907 595 S
Fuel gas 1834 595 S
Fuel gas,Inert gas 1622 595 S
Fuel gas,Inert gas,Oxygen 1589 595 S
Fuel gas,Inert gas,Oxygen,Nitrogen 1640 595 S
Fuel gases (mixture) 2355 595 S
Fuel gases(mixture) 1911 595 S
Gas Chromatography 1924 605 M
Helium 1852 595 S
Helium (He) 1787 595 S
Helium (He) (He) 1910 595 S
Helium (He),Neon (Ne),Argon (Ar),Krypton (Kr),Xenon (Xe),Radon (Rn) 1541 595 S
Hydrogen 1443 595 S
Hydrogen (H2) 1900 595 S
Hydrogen sulfide (H2S) 1958 595 S
Hydrogen,Oxygen 1605 595 S
Inert gas 1650 595 S
Inert gases 1427 595 S
Inert gases (mixture) 1931 595 S
Inert gases(mixture) 1901 595 S
Krypton (Kr) 1790 595 S
Laboratory 1920 605 M
Laboratory| Medical Technology| Semiconductor Industry| Pharmaceutical Industry| Photovoltaic Industry| Spectrometry| Gas Chromatography| Research & Development| Universities 2166 605 M
Main regulators 1999 550 S
Manufacturing Industry 1669 605 1669 M
max. 200 bar DIN 477-1 No. 1 Fuel gases, general (H2, CH4, etc.) W 21.8 x 1/14" LH/max. 200 bar 2176 624 N
Medical Technology 1662 605 M
Medical Technology,Automotive Industry, Petrochemical Industry,Pharmaceutical Industry,Welding,Cutting,Research & Development,Manufacturing Industry 1400 605 M
Methane (CH4) 1995 595 S
MISONĀ® 1545 595 S
n/a 2343 626 N
Neon (Ne) 1788 595 S
Nitric oxide (NO) 2078 595 S
Nitrogen 1448 595 S
Nitrogen (N2) 1905 595 S
Nitrogen dioxide (NO2) 2077 595 S
Nitrous oxide (N2O) 1972 595 S
Noble gases 1503 595 S
Noble gases (mixture) 2354 595 S
Noble gases(mixture) 1909 595 S
Noble gases,Co2 1534 595 S
Non aggressive gases 1439 595 S
Non aggressive gases (mixture) 2353 595 S
Non aggressive gases(mixture) 1903 595 S
Non flammable gases (mixture) 2072 595 S
Non flammable gases (mixture), Toxic gases (mixture), Corrosive gases (mixture) 1932 595 S
Not specified 2386 595 S
Oxygen 1445 595 S
Oxygen (O2) 1904 595 S
Petrochemical Industry 1664 605 1664 M
Pharmaceutical Industry 1665 605 1665 M
Photovoltaic Industry 1922 605 M
Propan 1432 595 S
Propane (C3H8) 1902 595 S
Radon (Rn) 1792 595 S
Research & Development 1668 605 1668 M
Research&Development 1849 605 M
Semiconductor Industry 1921 605 M
Single stage 1660 628 1660 S
Single stage, Double stage 2306 628 S
Spectrometry 1923 605 M
Stainless steel 1836 627 S
Sulfur hexafluoride (SF6) 1996 595 S
Synthetic air (mixture) 1930 595 S
Test gas 1480 595 S
Test gases (mixture) 2268 595 S
Test gases(mixture) 1906 595 S
Toxic gases (mixture) 2073 595 S
Tracer gases (mixture) 1941 595 S
Universities 1925 605 M
up to 200 2172 624 N
up to 300 2175 624 N
Welding 1666 605 1666 M
Xenon (Xe) 1791 595 S
Brass 1659 627 1659 S
Brass, Chrome-plated 1916 627 S
Brass, Nickel-Plated 2182 627 S
Gas Panels (Manifolds) 1235 550 S
Line Pressure Regulators 1234 550 1234 S
Monel 1954 627 S
Accessories and Spare Parts 1254 550 S
Alarm and Control Systems 1251 550 S
Aluminium 1867 627 S
Automatic Change-over Systems 1236 550 S
Brass/Polyamide 1690 627 S
Check Valves 1240 550 S
Cylinder Brackets 1250 550 S
Filters 1244 550 S
Flexible Hoses 1245 550 S
Flowmeters 1242 550 S
Gas Analyzers 1249 550 S
Gas Cabinets 1253 550 S
Gas Mixers 1252 550 S
Gas Purification Systems 1246 550 S
Gauges 2108 550 S
Metall 1881 627 S
NBR 1861 627 S
Polyamid 1797 627 S
Pressure Gauges 1247 550 S
Pressure Sensors 1248 550 S
Purge Devices 1237 550 S
Relief Valves 1239 550 S
Shut-off Valves 1238 550 S
Tapping Points 1241 550 S
Vacuum Generators 1243 550 S