SELECT 
  a.variant_id, 
  a.option_id, 
  a.position, 
  a.modifier, 
  a.modifier_type, 
  a.weight_modifier, 
  a.weight_modifier_type, 
  a.nav_skus, 
  a.commercial_modifier, 
  a.commercial_dn, 
  a.same_as_option, 
  a.price_overrides, 
  a.base_cost, 
  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 = '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 
  a.option_id IN (
    21964, 22032, 21970, 21947, 23551, 22224, 
    22028, 22029, 22030, 22031, 22034, 
    21941
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00211

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "shared_option_variants",
      "access_type": "system",
      "possible_keys": ["PRIMARY", "company_id"],
      "rows": 0,
      "filtered": 0,
      "const_row_not_found": true
    },
    "read_sorted_file": {
      "filesort": {
        "sort_key": "a.position, a.variant_id",
        "table": {
          "table_name": "a",
          "access_type": "range",
          "possible_keys": ["option_id", "option_id_2", "status"],
          "key": "option_id",
          "key_length": "6",
          "used_key_parts": ["option_id", "status"],
          "rows": 158,
          "filtered": 100,
          "index_condition": "a.option_id in (21964,22032,21970,21947,23551,22224,22028,22029,22030,22031,22034,21941) and a.`status` = 'A'"
        }
      }
    },
    "table": {
      "table_name": "b",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["variant_id", "lang_code"],
      "ref": ["cscart_migrate.a.variant_id", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(b.lang_code = 'en')"
    }
  }
}

Result

variant_id option_id position modifier modifier_type weight_modifier weight_modifier_type nav_skus commercial_modifier commercial_dn same_as_option price_overrides base_cost variant_name
217617 21964 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
218476 21970 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
220111 22032 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
220172 21947 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
220212 22224 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
220229 22028 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
220245 22030 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
220246 22031 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
220252 22029 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
220271 22034 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
220318 21941 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
237449 23551 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
215622 21964 1 0.000 A 0.000 A 0.00 0.00 0 0.00 Standard Bulb E26/GU24
217172 22032 1 0.000 A 0.000 A WHS24 0.00 0.00 0 0.00 24" Shade
217173 22032 2 128.000 A 0.000 A WHS28 33.00 0.00 0 0.00 28" Shade
215376 21941 3 0.000 A 0.000 A E26 0.00 0.00 0 0.00 E26
215713 21970 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
217138 22028 3 0.000 A 0.000 A NA 0.00 0.00 0 0.00 None
217142 22029 3 0.000 A 0.000 A CLR 0.00 0.00 0 0.00 Clear Glass
217152 22030 3 0.000 A 0.000 A CLR 0.00 0.00 0 0.00 Clear Glass
217162 22031 3 0.000 A 0.000 A CLR 0.00 0.00 0 0.00 Clear Glass
217205 22034 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
237418 23551 3 0.000 A 0.000 A 0.00 0.00 21970 0.00 Same as Shade
238867 21947 3 0.000 A 0.000 A ST506 0.00 0.00 0 0.00 6" Stem - ½" Diameter
215377 21941 5 14.000 A 0.000 A GU24 0.00 0.00 0 3.50 GU24
215452 21947 5 1.000 A 0.000 A ST706 0.00 0.00 0 0.18 6" Stem - ¾" Diameter
215623 21964 5 0.000 A 0.000 A 0.00 0.00 0 0.00 Integrated LED
215714 21970 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
217139 22028 5 97.000 A 0.000 A WGG 0.00 0.00 0 0.00 Wire Guard & Glass
217143 22029 5 10.000 A 0.000 A FST 0.00 0.00 0 0.00 Frosted Glass
217153 22030 5 10.000 A 0.000 A FST 0.00 0.00 0 0.00 Frosted Glass
217163 22031 5 10.000 A 0.000 A FST 0.00 0.00 0 0.00 Frosted Glass
217206 22034 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
219067 22224 5 0.000 A 0.000 A SC 0.00 0.00 0 0.00 Standard Canopy
237419 23551 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
215715 21970 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
217140 22028 10 97.000 A 0.000 A CGG 0.00 0.00 0 0.00 Cast Guard & Glass
217144 22029 10 10.000 A 0.000 A RIB 0.00 0.00 0 0.00 Ribbed Glass
217154 22030 10 10.000 A 0.000 A RIB 0.00 0.00 0 0.00 Ribbed Glass
217164 22031 10 10.000 A 0.000 A RIB 0.00 0.00 0 0.00 Ribbed Glass
217207 22034 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
219068 22224 10 44.000 A 0.000 A HSC 0.00 0.00 0 0.00 25° Hang Straight Canopy
237420 23551 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
238868 21947 10 3.000 A 0.000 A ST512 0.00 0.00 0 0.56 12" Stem - ½" Diameter
215454 21947 15 4.000 A 0.000 A ST712 0.00 0.00 0 0.92 12" Stem - ¾" Diameter
215716 21970 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
217141 22028 15 97.000 A 0.000 A TGG 0.00 0.00 0 0.00 Heavy Duty Guard & Glass
217208 22034 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
219069 22224 15 24.000 A 0.000 A HDSMC 0.00 0.00 0 0.00 Heavy Duty Canopy
237421 23551 15 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
215738 21970 18 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
215731 21970 19 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
217209 22034 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
237422 23551 20 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
238869 21947 20 5.000 A 0.000 A ST518 0.00 0.00 0 1.12 18" Stem - ½" Diameter
237036 21970 21 18.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237037 21970 22 18.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
215717 21970 24 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
215456 21947 25 7.000 A 0.000 A ST718 0.00 0.00 0 1.67 18" Stem - ¾" Diameter
217210 22034 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
237423 23551 25 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
242135 21970 25 18.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
241141 21970 26 18.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
237040 22034 27 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
215718 21970 28 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
237041 22034 28 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
215719 21970 30 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
217211 22034 30 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
237424 23551 30 0.000 A 0.000 A 980 0.00 0.00 0 0.00 980-Brushed Aluminum
238870 21947 30 7.000 A 0.000 A ST524 0.00 0.00 0 1.69 24" Stem - ½" Diameter
242752 22034 32 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
241221 22034 33 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
215458 21947 35 10.000 A 0.000 A ST724 0.00 0.00 0 2.41 24" Stem - ¾" Diameter
215720 21970 35 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
217212 22034 35 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
237425 23551 35 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
237450 23551 37 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237451 23551 38 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
215721 21970 40 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
217213 22034 40 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
237426 23551 40 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
238871 21947 40 12.000 A 0.000 A ST536 0.00 0.00 0 2.81 36" Stem - ½" Diameter
242139 23551 42 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
241226 23551 43 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
215460 21947 45 16.000 A 0.000 A ST736 0.00 0.00 0 3.90 36" Stem - ¾" Diameter
215722 21970 45 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
217214 22034 45 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
237427 23551 45 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
241142 21970 48 18.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
215723 21970 50 18.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
217215 22034 50 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
237428 23551 50 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
238872 21947 50 16.000 A 0.000 A ST548 0.00 0.00 0 3.93 48" Stem - ½" Diameter
215462 21947 55 22.000 A 0.000 A ST748 0.00 0.00 0 5.39 48" Stem - ¾" Diameter
215724 21970 55 18.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
217216 22034 55 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
237429 23551 55 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
241222 22034 58 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
215725 21970 60 18.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
217217 22034 60 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
237430 23551 60 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
215726 21970 65 18.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
217218 22034 65 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
237431 23551 65 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241227 23551 68 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
215727 21970 70 18.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
217219 22034 70 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
237432 23551 70 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
215728 21970 75 18.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
217220 22034 75 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
237433 23551 75 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
215729 21970 80 18.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
217221 22034 80 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
237434 23551 80 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
215730 21970 85 18.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
217222 22034 85 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
237435 23551 85 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
217223 22034 90 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
237436 23551 90 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
241143 21970 90 18.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
215732 21970 95 18.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
217224 22034 95 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
237437 23551 95 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
241144 21970 98 18.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
241223 22034 98 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
215733 21970 100 18.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
217225 22034 100 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
237438 23551 100 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
241224 22034 103 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
215734 21970 105 18.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
217226 22034 105 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
237439 23551 105 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
241228 23551 108 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
215735 21970 110 18.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
217227 22034 110 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
237440 23551 110 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
242136 21970 112 18.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242753 22034 112 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
241229 23551 113 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
242137 21970 113 18.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242754 22034 114 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
215736 21970 115 18.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
217228 22034 115 11.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
237441 23551 115 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
215737 21970 120 18.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
217229 22034 120 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
237442 23551 120 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
242138 21970 123 18.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
242140 23551 123 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242141 23551 124 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
217230 22034 125 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
237443 23551 125 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
241145 21970 125 18.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
242755 22034 127 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241225 22034 128 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
237444 23551 135 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
242142 23551 136 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241230 23551 138 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey