SELECT 
  b.variant_name, 
  a.*, 
  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 b.variant_id = a.variant_id 
  AND b.lang_code = 'en' 
  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 
  1 
  AND a.option_id IN (64, 65, 67) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00068

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "42.17"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "30.60"
      },
      "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.10",
              "prefix_cost": "0.00",
              "data_read_per_join": "24"
            },
            "used_columns": [
              "variant_id",
              "company_id",
              "modifier",
              "modifier_type"
            ]
          }
        },
        {
          "table": {
            "table_name": "a",
            "access_type": "ALL",
            "possible_keys": [
              "status",
              "option_id",
              "option_id_2"
            ],
            "rows_examined_per_scan": 78,
            "rows_produced_per_join": 30,
            "filtered": "39.23",
            "cost_info": {
              "read_cost": "5.45",
              "eval_cost": "3.06",
              "prefix_cost": "8.51",
              "data_read_per_join": "24K"
            },
            "used_columns": [
              "variant_id",
              "option_id",
              "position",
              "modifier",
              "modifier_type",
              "weight_modifier",
              "weight_modifier_type",
              "point_modifier",
              "point_modifier_type",
              "status",
              "yml2_variant"
            ],
            "attached_condition": "((`gaseus`.`a`.`option_id` in (64,65,67)) and (`gaseus`.`a`.`status` = 'A'))"
          }
        },
        {
          "table": {
            "table_name": "b",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "gaseus.a.variant_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 30,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "3.06",
              "prefix_cost": "11.57",
              "data_read_per_join": "23K"
            },
            "used_columns": [
              "variant_id",
              "lang_code",
              "variant_name"
            ]
          }
        }
      ]
    }
  }
}

Result

variant_name variant_id option_id position modifier modifier_type weight_modifier weight_modifier_type point_modifier point_modifier_type status yml2_variant
DIN 477-1 (W 21.8 x 1/14 left) 436 64 10 0.000 A 0.000 A 0.000 A A
SG 1 1/16 in 451 65 10 0.000 A 0.000 A 0.000 A A
None 466 67 10 0.000 A 0.000 A 0.000 A A
DIN 477-5 (W 1 left) 437 64 20 0.000 A 0.000 A 0.000 A A
SG 2 1/8 in 452 65 20 0.000 A 0.000 A 0.000 A A
Ball valve 467 67 20 25.000 A 0.000 A 0.000 A A
DIN 477-6 (W 21.8 x 1/14 right) 438 64 30 0.000 A 0.000 A 0.000 A A
SG 3 mm 453 65 30 0.000 A 0.000 A 0.000 A A
Diaphragm valve 468 67 30 40.000 A 0.000 A 0.000 A A
DIN 477-7 (G 5/8 IT internal thread right) 439 64 40 0.000 A 0.000 A 0.000 A A
SG 3/16 in 454 65 40 0.000 A 0.000 A 0.000 A A
Needle valve 469 67 40 15.000 A 0.000 A 0.000 A A
DIN 477-8 (W 1 right) 440 64 50 0.000 A 0.000 A 0.000 A A
SG 4 mm 455 65 50 0.000 A 0.000 A 0.000 A A
DIN 477-9 (G 3/4 right) 441 64 60 0.000 A 0.000 A 0.000 A A
SG 1/4 in 456 65 60 0.000 A 0.000 A 0.000 A A
DIN 477-10 (W 24.32 x 1/14 right) 442 64 70 0.000 A 0.000 A 0.000 A A
SG 6 mm 457 65 70 0.000 A 0.000 A 0.000 A A
DIN 477-11 (G 3/8 right) 443 64 80 0.000 A 0.000 A 0.000 A A
SG 3/8 in 458 65 80 0.000 A 0.000 A 0.000 A A
DIN 477-13 (G 5/8 ET external thread right) 444 64 90 0.000 A 0.000 A 0.000 A A
SG 8 mm 459 65 90 0.000 A 0.000 A 0.000 A A
DIN 477-14 (M 19 x 1.5 left) 445 64 100 0.000 A 0.000 A 0.000 A A
SG 1/2 in 460 65 100 0.000 A 0.000 A 0.000 A A
CGA 446 64 110 0.000 A 0.000 A 0.000 A A
SG 10 mm 461 65 110 0.000 A 0.000 A 0.000 A A
BS341 447 64 120 0.000 A 0.000 A 0.000 A A
SG 12 mm 462 65 120 0.000 A 0.000 A 0.000 A A
NFE 448 64 130 0.000 A 0.000 A 0.000 A A
NEN 449 64 140 0.000 A 0.000 A 0.000 A A
U.N.I. 450 64 150 0.000 A 0.000 A 0.000 A A