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, 21954, 23084, 23832, 23836, 
    22757
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00171

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": 150,
          "filtered": 100,
          "index_condition": "a.option_id in (23848,23831,21954,23084,23832,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
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
230564 23084 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
240172 23832 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
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
240143 23832 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
230565 23084 5 0.000 A 0.000 A 18 0.00 0.00 0 0.00 18" Cable & Cord
240107 23831 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
240144 23832 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
230566 23084 10 7.000 A 0.000 A 24 0.00 0.00 0 0.00 24" Cable & Cord
240108 23831 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
240145 23832 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
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
230567 23084 15 13.000 A 0.000 A 30 0.00 0.00 0 0.00 30" Cable & Cord
240109 23831 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
240146 23832 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
230568 23084 20 18.000 A 0.000 A 36 0.00 0.00 0 0.00 36" Cable & Cord
240110 23831 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
240147 23832 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
230569 23084 25 24.000 A 0.000 A 42 0.00 0.00 0 0.00 42" Cable & Cord
240111 23831 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
240148 23832 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
240149 23832 30 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
240177 23832 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
240178 23832 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
240150 23832 35 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
240173 23832 36 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
241695 23832 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
240151 23832 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
240152 23832 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
240153 23832 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
240154 23832 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
240155 23832 60 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241696 23832 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
240156 23832 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
240157 23832 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
240158 23832 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
240159 23832 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
240160 23832 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
240161 23832 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
240162 23832 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
240163 23832 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
241697 23832 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
240164 23832 110 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
241698 23832 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
240165 23832 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
240166 23832 120 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
245347 23832 122 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
240175 23832 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
240167 23832 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
240168 23832 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
240169 23832 135 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
245348 23832 136 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241699 23832 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
240170 23832 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
240171 23832 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
240291 23832 170 36.000 A 0.000 A 995 0.00 0.00 0 0.00 995-Raw Copper
240502 23831 170 250.000 A 0.000 A 998 0.00 0.00 0 0.00 998-Weathered Brass
240292 23832 175 36.000 A 0.000 A 996 0.00 0.00 0 0.00 996-Weathered Copper