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 (
    22920, 22117, 22918, 21951, 22913, 21954, 
    22911, 22912, 21941
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00292

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": 154,
          "filtered": 100,
          "index_condition": "a.option_id in (22920,22117,22918,21951,22913,21954,22911,22912,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
220137 22117 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
220144 21951 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
220173 21954 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
228071 22911 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
228102 22912 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
228134 22913 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
228175 22918 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
228215 22920 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
215376 21941 3 0.000 A 0.000 A E26 0.00 0.00 0 0.00 E26
215513 21951 3 0.000 A 0.000 A CN36 0.00 0.00 0 0.00 3 Feet of Chain
215556 21954 3 0.000 A 0.000 A SBK 0.00 0.00 0 0.00 Standard Black
228072 22912 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
228208 22920 3 0.000 A 0.000 A VWHS12 0.00 0.00 0 0.00 12" Shade
215377 21941 5 14.000 A 0.000 A GU24 0.00 0.00 0 3.50 GU24
215557 21954 5 5.000 A 0.000 A SWH 0.00 0.00 0 0.32 Standard White
228069 22911 5 0.000 A 0.000 A NA 0.00 0.00 0 0.00 None
228073 22912 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
228104 22913 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
228176 22918 5 0.000 A 0.000 A VC 0.00 0.00 0 0.00 Circle Vent
228209 22920 5 13.000 A 0.000 A VWHS14 0.00 0.00 0 0.00 14" Shade
215558 21954 10 10.000 A 0.000 A CSB 0.00 0.00 0 3.66 Black Cloth
228070 22911 10 49.000 A 0.000 A WC 0.00 0.00 0 0.00 Wire Cage
228074 22912 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
228105 22913 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
228177 22918 10 0.000 A 0.000 A VS 0.00 0.00 0 0.00 Narrow Slot Vent
228210 22920 10 24.000 A 0.000 A VWHS16 0.00 0.00 0 0.00 16" Shade
215516 21951 15 25.000 A 0.000 A CN72 0.00 0.00 0 0.00 6 Feet of Chain
215559 21954 15 10.000 A 0.000 A SLVR 0.00 0.00 0 3.66 Silver Cloth
228075 22912 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
228106 22913 15 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
215560 21954 20 10.000 A 0.000 A CRM 0.00 0.00 0 3.66 Creme Cloth
228076 22912 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
228107 22913 20 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
215561 21954 25 10.000 A 0.000 A BPNK 0.00 0.00 0 3.66 Blush Pink Cloth
228077 22912 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
228108 22913 25 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
217978 22117 26 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
237170 22912 27 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
217979 22117 28 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
237171 22912 28 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
215562 21954 30 30.000 A 0.000 A CNF 0.00 0.00 0 10.66 Confetti Cloth
217980 22117 30 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
228078 22912 30 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
242721 22912 31 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
217981 22117 32 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
241120 22912 33 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
217982 22117 34 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
215563 21954 35 10.000 A 0.000 A RST 0.00 0.00 0 3.66 Rust Cloth
228079 22912 35 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
228110 22913 35 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
217983 22117 36 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
242725 22913 37 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237042 22117 38 18.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
242726 22913 38 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
215564 21954 40 15.000 A 0.000 A RBS 0.00 0.00 0 6.81 Barn Red & Black Swirl Cloth
228080 22912 40 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
228111 22913 40 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
237043 22117 40 18.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
217984 22117 42 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
241136 22913 43 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
242635 22117 44 18.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
215565 21954 45 10.000 A 0.000 A ORG 0.00 0.00 0 3.66 Orange Cloth
228081 22912 45 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
228112 22913 45 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
241100 22117 46 18.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
217985 22117 48 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
215566 21954 50 10.000 A 0.000 A YLW 0.00 0.00 0 3.66 Buttery Yellow Cloth
217986 22117 50 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
228082 22912 50 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
228113 22913 50 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
217987 22117 52 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
217988 22117 54 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
215567 21954 55 10.000 A 0.000 A NGRN 0.00 0.00 0 3.66 Neon Green Cloth
228083 22912 55 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
228114 22913 55 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
217989 22117 56 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241101 22117 58 18.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
241121 22912 58 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
215568 21954 60 10.000 A 0.000 A EGRN 0.00 0.00 0 3.66 Emerald Green Cloth
217990 22117 60 18.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
228084 22912 60 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
228115 22913 60 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
215569 21954 65 30.000 A 0.000 A FGRN 0.00 0.00 0 10.66 Fern Green Chevron Cloth
217991 22117 65 18.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
228085 22912 65 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
228116 22913 65 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241137 22913 68 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
217992 22117 70 18.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
228086 22912 70 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
228117 22913 70 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
243103 21954 70 10.000 A 0.000 A SFM 0.00 0.00 0 3.66 Seafoam Cloth
217993 22117 75 18.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
228087 22912 75 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
228118 22913 75 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
243104 21954 75 10.000 A 0.000 A SBLU 0.00 0.00 0 3.66 Sky Blue Cloth
217994 22117 80 18.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
228088 22912 80 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
228119 22913 80 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
243105 21954 80 10.000 A 0.000 A RBLU 0.00 0.00 0 3.66 Royal Blue Cloth
217995 22117 85 18.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
228089 22912 85 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
228120 22913 85 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
243106 21954 85 10.000 A 0.000 A NVY 0.00 0.00 0 3.66 Navy Cloth
217996 22117 90 18.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
228090 22912 90 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
228121 22913 90 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
217997 22117 95 18.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
228091 22912 95 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
228122 22913 95 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
241102 22117 98 18.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
241122 22912 98 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
217998 22117 100 18.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
228092 22912 100 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
228123 22913 100 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
241103 22117 103 18.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
217999 22117 105 18.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
228124 22913 105 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
241123 22912 105 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
241138 22913 107 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
218000 22117 110 18.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
228093 22912 110 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
228125 22913 110 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
242636 22117 112 18.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
241139 22913 113 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
242637 22117 113 18.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
218001 22117 115 18.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
228094 22912 115 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
228126 22913 115 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
242722 22912 116 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242723 22912 118 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
218002 22117 120 18.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
228095 22912 120 11.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
228127 22913 120 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
228216 22913 123 11.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
218003 22117 125 18.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
228096 22912 125 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
228128 22913 125 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
242638 22117 126 18.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241104 22117 128 18.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
228097 22912 130 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
242724 22912 132 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241124 22912 133 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
228129 22913 135 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
241140 22913 138 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
242717 22913 140 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242718 22913 142 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242719 22913 144 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242720 22913 146 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
218008 22117 150 160.000 A 0.000 A 995 0.00 0.00 0 0.00 995-Raw Copper
218009 22117 155 200.000 A 0.000 A 996 0.00 0.00 0 0.00 996-Weathered Copper
218010 22117 160 250.000 A 0.000 A 999 0.00 0.00 0 0.00 999-Oil-Rubbed Copper
218011 22117 165 210.000 A 0.000 A 997 0.00 0.00 0 0.00 997-Raw Brass
218012 22117 170 250.000 A 0.000 A 998 0.00 0.00 0 0.00 998-Weathered Brass