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 = 12504 
  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 (
    550, 628, 627, 624, 625, 553, 578, 605, 
    606, 634, 631
  ) 
GROUP BY 
  cscart_product_feature_variants.variant_id 
ORDER BY 
  cscart_product_feature_variants.position, 
  cscart_product_feature_variant_descriptions.variant

Query time 0.00466

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1870.11"
    },
    "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": "range",
              "possible_keys": [
                "PRIMARY",
                "feature_id"
              ],
              "key": "feature_id",
              "used_key_parts": [
                "feature_id"
              ],
              "key_length": "3",
              "rows_examined_per_scan": 211,
              "rows_produced_per_join": 211,
              "filtered": "100.00",
              "index_condition": "(`test2_gaseus`.`cscart_product_feature_variants`.`feature_id` in (550,628,627,624,625,553,578,605,606,634,631))",
              "cost_info": {
                "read_cost": "76.61",
                "eval_cost": "21.10",
                "prefix_cost": "97.71",
                "data_read_per_join": "240K"
              },
              "used_columns": [
                "variant_id",
                "feature_id",
                "position"
              ]
            }
          },
          {
            "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": [
                "test2_gaseus.cscart_product_feature_variants.variant_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 211,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "52.75",
                "eval_cost": "21.10",
                "prefix_cost": "171.56",
                "data_read_per_join": "657K"
              },
              "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": [
                "test2_gaseus.cscart_product_feature_variants.feature_id",
                "const",
                "test2_gaseus.cscart_product_feature_variants.variant_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 211,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "52.75",
                "eval_cost": "21.10",
                "prefix_cost": "245.41",
                "data_read_per_join": "163K"
              },
              "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": [
                "test2_gaseus.cscart_product_feature_variants.feature_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 211,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "52.75",
                "eval_cost": "21.10",
                "prefix_cost": "319.26",
                "data_read_per_join": "248K"
              },
              "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": [
                "test2_gaseus.cscart_product_feature_variants.variant_id",
                "const",
                "const",
                "const"
              ],
              "rows_examined_per_scan": 21,
              "rows_produced_per_join": 4431,
              "filtered": "100.00",
              "index_condition": "<if>(is_not_null_compl(cscart_seo_names), ((`test2_gaseus`.`cscart_seo_names`.`company_id` = 1) or (`test2_gaseus`.`cscart_seo_names`.`company_id` = 0)), true)",
              "cost_info": {
                "read_cost": "1107.75",
                "eval_cost": "443.10",
                "prefix_cost": "1870.11",
                "data_read_per_join": "7M"
              },
              "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-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 10 2193 631 S
0 to 100 1950 631 S
0 to 16 1963 631 S
0 to 160 1976 631 S
0 to 2,5 2071 631 S
0 to 250 1955 631 S
0 to 315 1939 631 S
0 to 40 1918 631 S
0 to 400 2015 631 S
0 to 50 2040 631 S
0 to 6 2190 631 2190 S
0 to 60 1997 631 S
0 to 600 1971 631 S
0,05 2133 625 N
0,050 2408 625 N
0,1 1379 578 S
0,15 2134 625 N
0,150 2409 625 N
0,25 2137 625 N
0,3 2135 625 N
0,300 2410 625 N
0,5 2136 625 N
0,500 2411 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
0.05 2433 625 N
0.06 2429 578 S
0.1 2425 578 2425 S
0.15 2434 625 N
0.3 2435 625 N
0.5 2436 625 N
1 2388 625 N
1,5 2070 624 N
1,5 2129 625 N
1,50 2341 625 N
1,7 2324 625 N
1.5 2447 624 N
1.5 2413 625 N
1.7 2423 625 2423 N
10 2122 625 N
10,00 2334 625 N
100 1876 624 N
100 2125 625 N
100 1877 631 S
1000 2406 625 N
12 1866 624 N
14 2127 625 N
14,00 2368 625 N
15 2403 624 N
15 2132 625 N
15,00 2329 625 N
15.0 2420 625 N
150 2404 625 N
15–200 2517 625 N
15–270 2521 625 N
15–40 2513 625 N
15–60 2515 625 N
16 1962 624 N
16 1869 631 S
17,5 2326 625 N
17.5 2426 625 N
175*128*167 mm 2394 605 M
2 2141 625 N
2,5 2145 625 N
2,50 2338 625 N
2.5 2452 625 N
2.5 (fixed) 2467 625 N
20 1694 624 N
20 2123 625 N
20,00 2337 625 N
200 1705 624 N
200 2128 625 N
200 1707 631 S
210 2381 624 2381 N
25 1679 624 N
25 2140 625 N
25 1681 631 S
26 2503 624 N
270 2149 625 N
28 2147 625 N
3 2142 625 N
3,5 2130 625 N
3,50 2330 625 N
3.5 2415 625 N
30 2143 625 N
30.0 2421 625 N
300 1803 624 N
300 2146 625 N
300 1804 631 S
35 2173 625 N
4 2139 625 N
4,00 2342 625 N
4,5 2144 625 N
4,50 2339 625 N
4.5 (fixed) 2464 625 N
40 1675 624 N
40 2124 625 N
40,00 2362 625 N
400 2226 624 N
5 2389 627 S
5.0 (fixed) 2462 625 N
50 2036 624 N
50 2126 625 N
500 2405 625 N
6 2054 624 N
60 1657 624 N
60 2121 625 N
60 1670 631 S
60,00 2364 625 N
7 2131 625 N
7,00 2331 625 N
7.0 2419 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 1977 M
Chrome-plated 2290 627 S
Chrome-plated brass 2378 627 S
Copper 2566 627 S
Corrosive gases 2431 606 M
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
Gas Supply Systems 2414 605 M
Industrial Production 2475 605 M
Laboratory 1920 605 1920 M
Laboratory gases 1913 606 1913 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 gases 2430 606 M
Medical Technology 1662 605 1662 M
Medical Technology,Automotive Industry, Petrochemical Industry,Pharmaceutical Industry,Welding,Cutting,Research & Development,Manufacturing Industry 1400 605 M
Metal Processing 2476 605 M
N 2346 634 S
Nickel-plated 2424 627 2424 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
Stainless steel 316L 2427 627 S
Steel 2567 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
Tapping point 2441 550 S
Technical gases 1401 606 1401 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
Welding & Cutting 2474 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
6 2400 553 S
Line Pressure Regulators 1234 550 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