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 (
    22857, 22858, 22859, 21951, 22889, 21954, 
    22872, 22852, 21941
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00197

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": 155,
          "filtered": 100,
          "index_condition": "a.option_id in (22857,22858,22859,21951,22889,21954,22872,22852,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
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
227161 22852 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
227191 22857 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
227194 22858 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
227233 22859 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
227392 22872 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
227681 22889 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
227152 22852 3 0.000 A 0.000 A CLR 0.00 0.00 0 0.00 Clear Glass
227650 22889 3 0.000 A 0.000 A 0.00 0.00 22859 0.00 Same as 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
227153 22852 5 10.000 A 0.000 A FST 0.00 0.00 0 0.00 Frosted Glass
227193 22857 5 0.000 A 0.000 A 0.00 0.00 0 0.00 Standard Bulb E26/GU24
227195 22858 5 0.000 A 0.000 A ULM12 0.00 0.00 0 0.00 12" Shade
227651 22889 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
215558 21954 10 10.000 A 0.000 A CSB 0.00 0.00 0 3.66 Black Cloth
227154 22852 10 10.000 A 0.000 A RIB 0.00 0.00 0 0.00 Ribbed Glass
227192 22857 10 0.000 A 0.000 A 0.00 0.00 0 0.00 Nautical LED
227196 22858 10 18.000 A 0.000 A ULM14 0.00 0.00 0 0.00 14" Shade
227652 22889 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
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
227197 22858 15 30.000 A 0.000 A ULM16 0.00 0.00 0 0.00 16" Shade
227653 22889 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
227654 22889 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
227655 22889 25 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
215562 21954 30 30.000 A 0.000 A CNF 0.00 0.00 0 10.66 Confetti Cloth
215563 21954 35 10.000 A 0.000 A RST 0.00 0.00 0 3.66 Rust Cloth
227657 22889 35 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
237226 22889 37 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
227362 22872 38 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
237227 22889 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
227198 22859 40 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
227363 22872 40 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
227658 22889 40 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
227199 22859 42 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
227364 22872 42 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
227200 22859 44 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
227365 22872 44 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
241979 22889 44 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
215565 21954 45 10.000 A 0.000 A ORG 0.00 0.00 0 3.66 Orange Cloth
227659 22889 45 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
227201 22859 46 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
227366 22872 46 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
227202 22859 48 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
227367 22872 48 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
215566 21954 50 10.000 A 0.000 A YLW 0.00 0.00 0 3.66 Buttery Yellow Cloth
227203 22859 50 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
227660 22889 50 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
237060 22872 50 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237054 22859 52 18.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237061 22872 52 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
227368 22872 54 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
237055 22859 54 18.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
215567 21954 55 10.000 A 0.000 A NGRN 0.00 0.00 0 3.66 Neon Green Cloth
227661 22889 55 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
227204 22859 56 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
242744 22872 56 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242736 22859 57 18.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
241974 22859 58 18.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
242009 22872 58 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
215568 21954 60 10.000 A 0.000 A EGRN 0.00 0.00 0 3.66 Emerald Green Cloth
227205 22859 60 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
227369 22872 60 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
227662 22889 60 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
227206 22859 62 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
227370 22872 62 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
227207 22859 64 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
227371 22872 64 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
215569 21954 65 30.000 A 0.000 A FGRN 0.00 0.00 0 10.66 Fern Green Chevron Cloth
227663 22889 65 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
227208 22859 66 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
227372 22872 66 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
227209 22859 68 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
227373 22872 68 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241980 22889 68 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
227664 22889 70 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
241975 22859 70 18.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
242010 22872 70 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
243103 21954 70 10.000 A 0.000 A SFM 0.00 0.00 0 3.66 Seafoam Cloth
227210 22859 72 18.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
227374 22872 72 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
227211 22859 74 18.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
227375 22872 74 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
227665 22889 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
227212 22859 76 18.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
227376 22872 76 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
227213 22859 78 18.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
227377 22872 78 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
227214 22859 80 18.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
227378 22872 80 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
227666 22889 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
227215 22859 85 18.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
227379 22872 85 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
227667 22889 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
227216 22859 90 18.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
227380 22872 90 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
227668 22889 90 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
227217 22859 95 18.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
227381 22872 95 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
227669 22889 95 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
241976 22859 98 18.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
242011 22872 98 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
227218 22859 100 18.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
227382 22872 100 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
227670 22889 100 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
241977 22859 103 18.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
242012 22872 103 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
227219 22859 105 18.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
227383 22872 105 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
227671 22889 105 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
241981 22889 108 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
227220 22859 110 18.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
227384 22872 110 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
227672 22889 110 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
242737 22859 112 18.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242745 22872 112 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
241982 22889 113 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
242738 22859 113 18.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242746 22872 113 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
227221 22859 115 18.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
227385 22872 115 11.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
227673 22889 115 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
227222 22859 120 18.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
227386 22872 120 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
227674 22889 120 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
227223 22859 125 18.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
227387 22872 125 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
227675 22889 125 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
242739 22859 126 18.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
242747 22872 126 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241978 22859 128 18.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
242013 22872 128 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Gray
227676 22889 135 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
241983 22889 138 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
242889 22889 140 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242890 22889 142 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242891 22889 144 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242892 22889 146 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
227228 22859 150 160.000 A 0.000 A 995 0.00 0.00 0 0.00 995-Raw Copper
227229 22859 155 200.000 A 0.000 A 996 0.00 0.00 0 0.00 996-Weathered Copper
227230 22859 160 250.000 A 0.000 A 999 0.00 0.00 0 0.00 999-Oil-Rubbed Copper
227231 22859 165 210.000 A 0.000 A 997 0.00 0.00 0 0.00 997-Raw Brass
227232 22859 170 250.000 A 0.000 A 998 0.00 0.00 0 0.00 998-Weathered Brass