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 = 11366 
  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 (
    578, 550, 628, 624, 625, 553, 605, 606, 
    627, 634, 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.00564

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "397.16"
    },
    "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": 227,
              "filtered": "29.14",
              "cost_info": {
                "read_cost": "56.66",
                "eval_cost": "22.70",
                "prefix_cost": "79.36",
                "data_read_per_join": "258K"
              },
              "used_columns": [
                "variant_id",
                "feature_id",
                "position"
              ],
              "attached_condition": "(`gaseus`.`cscart_product_feature_variants`.`feature_id` in (578,550,628,624,625,553,605,606,627,634,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": 227,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "56.75",
                "eval_cost": "22.70",
                "prefix_cost": "158.81",
                "data_read_per_join": "707K"
              },
              "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": 227,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "56.75",
                "eval_cost": "22.70",
                "prefix_cost": "238.26",
                "data_read_per_join": "175K"
              },
              "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": 227,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "56.75",
                "eval_cost": "22.70",
                "prefix_cost": "317.71",
                "data_read_per_join": "267K"
              },
              "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": 227,
              "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": "56.75",
                "eval_cost": "22.70",
                "prefix_cost": "397.16",
                "data_read_per_join": "384K"
              },
              "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
-40 to +70 °C 2393 578 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 S
0 to 40 1987 633 S
0 to 400 2015 631 2015 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,05 2133 625 N
0,1 1379 578 1379 S
0,15 2134 625 N
0,25 2137 625 N
0,3 2135 625 N
0,5 2136 625 N
0,6 2138 625 N
0,60 2351 625 N
0,7 2148 625 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 2388 625 N
1,5 2129 625 2129 N
1,5 2070 624 N
1,5 1682 633 S
1,50 2341 625 N
1,7 2324 625 N
10 2122 625 N
10 1708 633 S
10,00 2334 625 N
100 2125 625 N
100 1807 633 S
100 1876 624 N
100 1877 631 S
12 1866 624 N
14 2127 625 N
14,00 2368 625 N
15 2132 625 N
15,00 2329 625 N
16 1962 624 N
16 1869 631 S
17,5 2326 625 N
175*128*167 mm 2394 605 M
2 2141 625 N
2,5 2145 625 N
2,50 2338 625 N
20 2123 625 N
20 1671 633 S
20 1694 624 N
20,00 2337 625 N
200 2128 625 N
200 1705 624 N
200 1707 631 S
200 1754 633 S
210 2381 624 2381 N
25 2140 625 N
25 1679 624 N
25 1681 631 S
270 2149 625 N
28 2147 625 N
3 2142 625 N
3,5 2130 625 N
3,50 2330 625 N
30 2143 625 N
300 2146 625 N
300 1803 624 N
300 1804 631 S
35 2173 625 N
4 2139 625 N
4 1696 633 S
4,00 2342 625 N
4,5 2144 625 N
4,50 2339 625 N
40 2124 625 N
40 1675 624 N
40 1716 633 S
40,00 2362 625 N
400 2226 624 N
5 2389 627 S
50 2036 624 N
50 2126 625 N
6 2054 624 N
60 2121 625 N
60 1657 624 N
60 1670 631 S
60 1728 633 S
60,00 2364 625 N
7 2131 625 N
7,00 2331 625 N
70 1949 624 N
8 1992 624 N
80 1980 624 N
Automotive Industry 1663 605 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
Chemical Industry 1977 605 M
Chrome-plated 2290 627 S
Chrome-plated brass 2378 627 S
Cutting 1667 605 M
Cylinder regulators 1933 550 1933 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
Gas Chromatography 1924 605 1924 M
Laboratory 1920 605 1920 M
Laboratory gases 1913 606 M
Laboratory gases | laser gases 2289 606 M
Laboratory| Medical Technology| Semiconductor Industry| Pharmaceutical Industry| Photovoltaic Industry| Spectrometry| Gas Chromatography| Research & Development| Universities 2166 605 M
laser gases 2233 606 M
Main regulators 1999 550 S
Manufacturing Industry 1669 605 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 1662 M
Medical Technology,Automotive Industry, Petrochemical Industry,Pharmaceutical Industry,Welding,Cutting,Research & Development,Manufacturing Industry 1400 605 M
N 2346 634 S
Petrochemical Industry 1664 605 M
Pharmaceutical Industry 1665 605 1665 M
Photovoltaic Industry 1922 605 1922 M
Research & Development 1668 605 1668 M
Research&Development 1849 605 M
Semiconductor Industry 1921 605 1921 M
Single stage 1660 628 1660 S
Single stage, Double stage 2306 628 S
Spectrometry 1923 605 1923 M
Stainless steel 1836 627 S
S[up to 4.5] 2248 553 S
S[up to 5.0] 2246 553 S
S[up to 6.0] 2247 553 S
Technical gases 1401 606 M
Technical gases| Laboratory gases | laser gases 2302 606 M
Ultrapure gases 1936 606 1936 M
Universities 1925 605 1925 M
up to 200 2172 624 N
up to 300 2175 624 N
up to 4.5 1324 553 S
up to 5.0 2197 553 S
up to 6.0 1256 553 S
Welding 1666 605 M
Y 2352 634 2352 S
Brass 1659 627 S
Brass, Chrome-plated 1916 627 S
Brass, Nickel-Plated 2182 627 S
for pure gases up to 5.0, with metal diaphragm SS321 (1.4541) 2091 553 S
for technical gases up to 4.5, with standard diaphragm 2079 553 S
Gas Panels (Manifolds) 1235 550 S
up to 4.5 (technical gases) 1973 553 S
up to 5.0 (laboratory gases / laser gases) 1912 553 S
up to 6.0 (ultrapure gases) 1935 553 1935 S
Line Pressure Regulators 1234 550 S
Monel 1954 627 1954 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