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

Query time 0.00194

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": 138,
          "filtered": 100,
          "index_condition": "a.option_id in (23848,23831,22853,23833,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
225874 22757 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
227176 22853 0 0.000 A 0.000 A skip 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
240208 23833 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
225842 22757 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
227163 22853 3 0.000 A 0.000 A ST506 0.00 0.00 0 0.00 6" Stem - ½" Diameter
240106 23831 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
240179 23833 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
225843 22757 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
227164 22853 5 1.000 A 0.000 A ST706 0.00 0.00 0 0.18 6" Stem - ¾" Diameter
240107 23831 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
240180 23833 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
225844 22757 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
227165 22853 10 3.000 A 0.000 A ST512 0.00 0.00 0 0.56 12" Stem - ½" Diameter
240108 23831 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
240181 23833 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
225845 22757 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
227166 22853 15 4.000 A 0.000 A ST712 0.00 0.00 0 0.92 12" Stem - ¾" Diameter
240109 23831 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
240182 23833 15 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
225846 22757 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
227167 22853 20 5.000 A 0.000 A ST518 0.00 0.00 0 1.12 18" Stem - ½" Diameter
240110 23831 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
240183 23833 20 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
225847 22757 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Rust
227168 22853 25 7.000 A 0.000 A ST718 0.00 0.00 0 1.67 18" Stem - ¾" Diameter
240111 23831 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
240184 23833 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
225848 22757 30 7.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
227169 22853 30 7.000 A 0.000 A ST524 0.00 0.00 0 1.69 24" Stem - ½" Diameter
240112 23831 30 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
240185 23833 30 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
240213 23833 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
240214 23833 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
225849 22757 35 7.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
227170 22853 35 10.000 A 0.000 A ST724 0.00 0.00 0 2.41 24" Stem - ¾" Diameter
240113 23831 35 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
240186 23833 35 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
242924 23833 36 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
241690 23833 38 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
225850 22757 40 7.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
227171 22853 40 12.000 A 0.000 A ST536 0.00 0.00 0 2.81 36" Stem - ½" Diameter
240114 23831 40 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
240187 23833 40 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
225851 22757 45 7.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
227172 22853 45 16.000 A 0.000 A ST736 0.00 0.00 0 3.90 36" Stem - ¾" Diameter
240115 23831 45 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
240188 23833 45 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
225852 22757 50 7.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
227173 22853 50 16.000 A 0.000 A ST548 0.00 0.00 0 3.93 48" Stem - ½" Diameter
240116 23831 50 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
240189 23833 50 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
225853 22757 55 7.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
227174 22853 55 22.000 A 0.000 A ST748 0.00 0.00 0 5.39 48" Stem - ¾" Diameter
240117 23831 55 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
240190 23833 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
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
240191 23833 60 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241691 23833 63 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
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
240192 23833 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
240193 23833 70 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
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
240194 23833 75 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
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
240195 23833 80 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
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
240196 23833 85 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
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
240197 23833 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
240198 23833 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
240199 23833 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
241692 23833 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
240200 23833 110 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
241693 23833 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
240201 23833 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
240202 23833 120 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
242925 23833 123 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242926 23833 124 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
240203 23833 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
240204 23833 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
240205 23833 135 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
242927 23833 136 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241694 23833 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
240206 23833 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
240207 23833 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
240504 23833 185 210.000 A 0.000 A 997 0.00 0.00 0 0.00 997-Raw Brass
240505 23833 190 250.000 A 0.000 A 998 0.00 0.00 0 0.00 998-Weathered Brass