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 (
    23848, 23831, 21951, 21954, 23834, 23836, 
    22757
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00189

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": 143,
          "filtered": 100,
          "index_condition": "a.option_id in (23848,23831,21951,21954,23834,23836,22757) 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
225874 22757 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
240138 23831 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
240244 23834 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
240297 23836 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
240448 23848 0 0.000 A 0.000 A SBS28 0.00 0.00 0 0.00 28" Shade
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
225842 22757 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
240106 23831 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
240215 23834 3 0.000 A 0.000 A 0.00 0.00 23831 0.00 Same as Shade
240295 23836 3 0.000 A 0.000 A E26 0.00 0.00 0 0.00 Standard Incandescent
215557 21954 5 5.000 A 0.000 A SWH 0.00 0.00 0 0.32 Standard White
225843 22757 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
240107 23831 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
240216 23834 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
240296 23836 5 193.000 A 0.000 A E26/3 0.00 0.00 0 0.00 Standard Incandescent / Triple E26
215558 21954 10 10.000 A 0.000 A CSB 0.00 0.00 0 3.66 Black Cloth
225844 22757 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
240108 23831 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
240217 23834 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
225845 22757 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
240109 23831 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
240218 23834 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
225846 22757 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
240110 23831 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
240219 23834 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
225847 22757 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Rust
240111 23831 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
240220 23834 25 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
240139 23831 27 18.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
240140 23831 28 18.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
225848 22757 30 7.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
240112 23831 30 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
240221 23834 30 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
240249 23834 32 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
242920 23831 32 18.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
240250 23834 33 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
241680 23831 33 18.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
215563 21954 35 10.000 A 0.000 A RST 0.00 0.00 0 3.66 Rust Cloth
225849 22757 35 7.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
240113 23831 35 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
240222 23834 35 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
240245 23834 36 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
241685 23834 38 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
215564 21954 40 15.000 A 0.000 A RBS 0.00 0.00 0 6.81 Barn Red & Black Swirl Cloth
225850 22757 40 7.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
240114 23831 40 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
240223 23834 40 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
215565 21954 45 10.000 A 0.000 A ORG 0.00 0.00 0 3.66 Orange Cloth
225851 22757 45 7.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
240115 23831 45 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
240224 23834 45 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
215566 21954 50 10.000 A 0.000 A YLW 0.00 0.00 0 3.66 Buttery Yellow Cloth
225852 22757 50 7.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
240116 23831 50 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
240225 23834 50 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
215567 21954 55 10.000 A 0.000 A NGRN 0.00 0.00 0 3.66 Neon Green Cloth
225853 22757 55 7.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
240117 23831 55 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
240226 23834 55 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
241681 23831 58 18.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
225854 22757 60 7.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
240118 23831 60 18.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
240227 23834 60 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241686 23834 63 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
215569 21954 65 30.000 A 0.000 A FGRN 0.00 0.00 0 10.66 Fern Green Chevron Cloth
225855 22757 65 7.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
240119 23831 65 18.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
240228 23834 65 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
225856 22757 70 7.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
240120 23831 70 18.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
240229 23834 70 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
243103 21954 70 10.000 A 0.000 A SFM 0.00 0.00 0 3.66 Seafoam Cloth
225857 22757 75 7.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
240121 23831 75 18.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
240230 23834 75 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
243104 21954 75 10.000 A 0.000 A SBLU 0.00 0.00 0 3.66 Sky Blue Cloth
225858 22757 80 7.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
240122 23831 80 18.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
240231 23834 80 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
243105 21954 80 10.000 A 0.000 A RBLU 0.00 0.00 0 3.66 Royal Blue Cloth
225859 22757 85 7.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
240123 23831 85 18.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
240232 23834 85 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
243106 21954 85 10.000 A 0.000 A NVY 0.00 0.00 0 3.66 Navy Cloth
225860 22757 90 7.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
240124 23831 90 18.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
240233 23834 90 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
225861 22757 95 7.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
240125 23831 95 18.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
240234 23834 95 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
241682 23831 98 18.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
225862 22757 100 7.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
240126 23831 100 18.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
240235 23834 100 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
241683 23831 103 18.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
225863 22757 105 7.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
240127 23831 105 18.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
241687 23834 105 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
225864 22757 110 7.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
240128 23831 110 18.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
240236 23834 110 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
241688 23834 113 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
242921 23831 113 18.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242922 23831 114 18.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
225865 22757 115 7.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
240129 23831 115 18.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
240237 23834 115 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
225866 22757 120 7.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
240130 23831 120 18.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
240238 23834 120 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
240247 23834 123 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
225867 22757 125 7.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
240131 23831 125 18.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
240239 23834 125 11.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
225872 22757 127 10.000 A 0.000 A 930 0.00 0.00 0 0.00 930-Painted Aged Brass
242923 23831 127 18.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241684 23831 128 18.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
225873 22757 129 10.000 A 0.000 A 940 0.00 0.00 0 0.00 940-Painted Aged Copper
240136 23831 129 18.000 A 0.000 A 930 0.00 0.00 0 0.00 930-Painted Aged Brass
225868 22757 130 7.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
240137 23831 130 18.000 A 0.000 A 940 0.00 0.00 0 0.00 940-Painted Aged Copper
240240 23834 130 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
225869 22757 135 7.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
240241 23834 135 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
241689 23834 138 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
225870 22757 140 7.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
240242 23834 140 11.000 A 0.000 A 930 0.00 0.00 0 0.00 930-Painted Aged Brass
225871 22757 145 7.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
240243 23834 145 11.000 A 0.000 A 940 0.00 0.00 0 0.00 940-Painted Aged Copper
240287 23831 150 160.000 A 0.000 A 995 0.00 0.00 0 0.00 995-Raw Copper
240288 23831 155 200.000 A 0.000 A 996 0.00 0.00 0 0.00 996-Weathered Copper
240500 23831 160 250.000 A 0.000 A 999 0.00 0.00 0 0.00 999-Oil-Rubbed Copper
240501 23831 165 210.000 A 0.000 A 997 0.00 0.00 0 0.00 997-Raw Brass
240502 23831 170 250.000 A 0.000 A 998 0.00 0.00 0 0.00 998-Weathered Brass