SELECT 
  a.variant_id, 
  a.option_id, 
  a.position, 
  a.modifier, 
  a.modifier_type, 
  a.weight_modifier, 
  a.weight_modifier_type, 
  a.point_modifier, 
  a.point_modifier_type, 
  b.variant_name, 
  IF(
    shared_option_variants.variant_id IS NOT NULL, 
    shared_option_variants.modifier, 
    a.modifier
  ) as modifier, 
  IF(
    shared_option_variants.variant_id IS NOT NULL, 
    shared_option_variants.modifier_type, 
    a.modifier_type
  ) as modifier_type 
FROM 
  cscart_product_option_variants as a 
  LEFT JOIN cscart_product_option_variants_descriptions as b ON a.variant_id = b.variant_id 
  AND b.lang_code = 'de' 
  LEFT JOIN cscart_ult_product_option_variants shared_option_variants ON shared_option_variants.variant_id = a.variant_id 
  AND shared_option_variants.company_id = 1 
WHERE 
  a.option_id IN (
    1110, 1163, 1216, 1095, 1148, 1201, 1124, 
    1177, 1230, 1088, 1141, 1194, 1094, 
    1147, 1200, 1140, 1193, 1246, 1115, 
    1168, 1221, 1135, 1188, 1241, 1093, 
    1146, 1199, 1117, 1170, 1223, 1108, 
    1161, 1214, 1119, 1172, 1225, 1123, 
    1176, 1229, 1114, 1167, 1220, 1136, 
    1189, 1242, 1139, 1192, 1245, 1134, 
    1187, 1240, 1133, 1186, 1239, 1132, 
    1185, 1238, 1137, 1190, 1243, 1138, 
    1191, 1244, 1106, 1159, 1212, 1092, 
    1145, 1198, 1120, 1173, 1226
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00170

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "316.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "94.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "shared_option_variants",
            "access_type": "system",
            "possible_keys": [
              "PRIMARY",
              "company_id"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "const_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "24"
            },
            "used_columns": [
              "variant_id",
              "company_id",
              "modifier",
              "modifier_type"
            ]
          }
        },
        {
          "table": {
            "table_name": "a",
            "access_type": "range",
            "possible_keys": [
              "status",
              "option_id",
              "option_id_2"
            ],
            "key": "option_id",
            "used_key_parts": [
              "option_id",
              "status"
            ],
            "key_length": "6",
            "rows_examined_per_scan": 94,
            "rows_produced_per_join": 94,
            "filtered": "100.00",
            "index_condition": "((`eshopuga_upgr_4122`.`a`.`option_id` in (1110,1163,1216,1095,1148,1201,1124,1177,1230,1088,1141,1194,1094,1147,1200,1140,1193,1246,1115,1168,1221,1135,1188,1241,1093,1146,1199,1117,1170,1223,1108,1161,1214,1119,1172,1225,1123,1176,1229,1114,1167,1220,1136,1189,1242,1139,1192,1245,1134,1187,1240,1133,1186,1239,1132,1185,1238,1137,1190,1243,1138,1191,1244,1106,1159,1212,1092,1145,1198,1120,1173,1226)) and (`eshopuga_upgr_4122`.`a`.`status` = 'A'))",
            "cost_info": {
              "read_cost": "184.81",
              "eval_cost": "18.80",
              "prefix_cost": "203.61",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "variant_id",
              "option_id",
              "position",
              "modifier",
              "modifier_type",
              "weight_modifier",
              "weight_modifier_type",
              "point_modifier",
              "point_modifier_type",
              "status"
            ]
          }
        },
        {
          "table": {
            "table_name": "b",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "eshopuga_upgr_4122.a.variant_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 94,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "18.80",
              "prefix_cost": "222.41",
              "data_read_per_join": "71K"
            },
            "used_columns": [
              "variant_id",
              "lang_code",
              "variant_name"
            ]
          }
        }
      ]
    }
  }
}

Result

variant_id option_id position modifier modifier_type weight_modifier weight_modifier_type point_modifier point_modifier_type variant_name
1340 1141 0 0.000 A 0.000 A 0.000 A
1348 1145 0 0.000 A 0.000 A 0.000 A
1350 1146 0 0.000 A 0.000 A 0.000 A
1352 1147 0 0.000 A 0.000 A 0.000 A
1354 1148 0 0.000 A 0.000 A 0.000 A
1376 1159 0 0.000 A 0.000 A 0.000 A
1380 1161 0 0.000 A 0.000 A 0.000 A
1384 1163 0 0.000 A 0.000 A 0.000 A
1392 1167 0 0.000 A 0.000 A 0.000 A
1394 1168 0 0.000 A 0.000 A 0.000 A
1398 1170 0 0.000 A 0.000 A 0.000 A
1402 1172 0 0.000 A 0.000 A 0.000 A
1404 1173 0 0.000 A 0.000 A 0.000 A
1410 1176 0 0.000 A 0.000 A 0.000 A
1412 1177 0 0.000 A 0.000 A 0.000 A
1428 1185 0 0.000 A 0.000 A 0.000 A
1430 1186 0 0.000 A 0.000 A 0.000 A
1432 1187 0 0.000 A 0.000 A 0.000 A
1434 1188 0 0.000 A 0.000 A 0.000 A
1436 1189 0 0.000 A 0.000 A 0.000 A
1438 1190 0 0.000 A 0.000 A 0.000 A
1440 1191 0 0.000 A 0.000 A 0.000 A
1442 1192 0 0.000 A 0.000 A 0.000 A
1444 1193 0 0.000 A 0.000 A 0.000 A
1339 1141 1 2.000 A 0.000 A 0.000 A
1347 1145 1 2.000 A 0.000 A 0.000 A
1349 1146 1 2.000 A 0.000 A 0.000 A
1351 1147 1 2.000 A 0.000 A 0.000 A
1353 1148 1 2.000 A 0.000 A 0.000 A
1375 1159 1 2.000 A 0.000 A 0.000 A
1379 1161 1 2.000 A 0.000 A 0.000 A
1383 1163 1 2.000 A 0.000 A 0.000 A
1391 1167 1 2.000 A 0.000 A 0.000 A
1393 1168 1 2.000 A 0.000 A 0.000 A
1397 1170 1 2.000 A 0.000 A 0.000 A
1401 1172 1 2.000 A 0.000 A 0.000 A
1403 1173 1 2.000 A 0.000 A 0.000 A
1409 1176 1 2.000 A 0.000 A 0.000 A
1411 1177 1 2.000 A 0.000 A 0.000 A
1427 1185 1 2.000 A 0.000 A 0.000 A
1429 1186 1 2.000 A 0.000 A 0.000 A
1431 1187 1 2.000 A 0.000 A 0.000 A
1433 1188 1 2.000 A 0.000 A 0.000 A
1435 1189 1 2.000 A 0.000 A 0.000 A
1437 1190 1 2.000 A 0.000 A 0.000 A
1439 1191 1 2.000 A 0.000 A 0.000 A
1441 1192 1 2.000 A 0.000 A 0.000 A
1443 1193 1 2.000 A 0.000 A 0.000 A