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, 
  cscart_product_feature_variants.mdc_variant 
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 = 524 
  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' 
WHERE 
  1 
  AND cscart_product_feature_variants.feature_id IN (1122, 1033, 1119, 1120, 1030, 1038) 
GROUP BY 
  cscart_product_feature_variants.variant_id 
ORDER BY 
  cscart_product_feature_variants.position, 
  cscart_product_feature_variant_descriptions.variant

Query time 0.00172

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "712.08"
    },
    "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": 63,
              "rows_produced_per_join": 63,
              "filtered": "100.00",
              "index_condition": "(`danishecarter_latest`.`cscart_product_feature_variants`.`feature_id` in (1122,1033,1119,1120,1030,1038))",
              "cost_info": {
                "read_cost": "81.61",
                "eval_cost": "12.60",
                "prefix_cost": "94.21",
                "data_read_per_join": "166K"
              },
              "used_columns": [
                "variant_id",
                "feature_id",
                "position",
                "mdc_variant"
              ]
            }
          },
          {
            "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": [
                "danishecarter_latest.cscart_product_feature_variants.variant_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 63,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "63.00",
                "eval_cost": "12.60",
                "prefix_cost": "169.81",
                "data_read_per_join": "190K"
              },
              "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": [
                "danishecarter_latest.cscart_product_feature_variants.feature_id",
                "const",
                "danishecarter_latest.cscart_product_feature_variants.variant_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 63,
              "filtered": "100.00",
              "using_index": true,
              "cost_info": {
                "read_cost": "63.00",
                "eval_cost": "12.60",
                "prefix_cost": "245.41",
                "data_read_per_join": "48K"
              },
              "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": [
                "danishecarter_latest.cscart_product_feature_variants.feature_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 63,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "63.00",
                "eval_cost": "12.60",
                "prefix_cost": "321.01",
                "data_read_per_join": "74K"
              },
              "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": [
                "danishecarter_latest.cscart_product_feature_variants.variant_id",
                "const",
                "const",
                "const"
              ],
              "rows_examined_per_scan": 5,
              "rows_produced_per_join": 315,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "328.07",
                "eval_cost": "63.00",
                "prefix_cost": "712.08",
                "data_read_per_join": "534K"
              },
              "used_columns": [
                "name",
                "object_id",
                "type",
                "dispatch",
                "path",
                "lang_code"
              ]
            }
          }
        ]
      }
    }
  }
}

Result

variant variant_id feature_id selected feature_type seo_name seo_path mdc_variant
0.000 23102 1038 23102 N
100 19202 1038 N 100
1000 19204 1038 N 1000
10000 19207 1038 N 10000
1465 23419 1038 N 1465
150000 19208 1038 N 150000
18000 23248 1038 N 18000
18000.000 23142 1038 N
2000 19205 1038 N 2000
20000 19209 1038 N 20000
2165 23308 1038 N 2165
25000 19210 1038 N 25000
26000.000 23119 1038 N
3500 23261 1038 N 3500
35000.000 23107 1038 N
36000.000 23133 1038 N
500 19203 1038 N 500
5000 19206 1038 N 5000
5650 23255 1038 N 5650
6783.000 23100 1038 N
7273 23228 1038 N 7273
8124 23233 1038 N 8124
8461.000 23093 1038 N
8706 23200 1038 N 8706
8809.000 23084 1038 N
8917.000 23079 1038 N
9025 23205 1038 N 9025
BoxSemiTrailer 23094 1119 S
ChassisSemiTrailer 23157 1119 S
ChassisTruck 23127 1119 S
Compactor 23165 1119 S
Container forklift truck 23166 1119 S
Deep-freeze transporter 23108 1119 S
Fixed 18937 1030 18937 S FIXED
FORD_REIMO 23178 1120 E fordreimo-en
Fortschritt 23174 1120 E fortschritt-en
Leasing only 18939 1030 S LEASING_ONLY
No 18943 1033 18943 S N
On request 18938 1030 S ON_REQUEST
Other agricultural vehicles 23177 1119 S
Other forklift trucks 23173 1119 S
Other substructures 23101 1119 23101 S
RefrigeratorBodySemiTrailer 23069 1119 S
RENAULT 23160 1120 E renault-en
SCANIA 23121 1120 E scania-en
SCHMITZ 23070 1120 E schmitz-en
Standard tractor/trailer unit 23085 1119 S
SwapChassisSemiTrailer 23153 1119 S
SwapChassisTruck 23120 1119 S
Timber carrier 23109 1119 S
Used vehicle 23075 1122 23075 S
VANHOOL 23154 1120 E vanhool-en
VOLVO 23086 1120 23086 E volvo-en
Wheeled loader 23164 1119 S
WOODFORD 23167 1120 E woodford-en
Yes 18942 1033 S Y