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 (
    22665, 22667, 22669, 22670, 21898, 22673
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00152

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": 132,
          "filtered": 100,
          "index_condition": "a.option_id in (22665,22667,22669,22670,21898,22673) 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
224029 22665 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
224038 22667 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
224078 22669 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
224111 22670 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
224153 21898 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
224183 22673 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
224030 22665 1 0.000 A 0.000 A 0.00 0.00 0 0.00 Standard Bulb E26/GU24
224112 22670 2 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
224223 21898 2 0.000 A 0.000 A ST6 0.00 0.00 0 0.00 6" Stem
215002 21898 3 3.000 A 0.000 A ST12 0.00 0.00 0 0.00 12" Stem
224035 22667 3 0.000 A 0.000 A DBE10 0.00 0.00 0 0.00 10" Shade
224043 22669 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
224079 22670 3 18.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
224154 22673 3 0.000 A 0.000 A 0.00 0.00 22669 0.00 Same as Exterior
215003 21898 5 5.000 A 0.000 A ST18 0.00 0.00 0 0.00 18" Stem
224031 22665 5 0.000 A 0.000 A 0.00 0.00 0 0.00 Integrated LED
224036 22667 5 61.000 A 0.000 A DBE16 0.00 0.00 0 0.00 16" Shade
224044 22669 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
224080 22670 5 18.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
224155 22673 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
215004 21898 10 7.000 A 0.000 A ST24 0.00 0.00 0 0.00 24" Stem
224037 22667 10 105.000 A 0.000 A DBE20 0.00 0.00 0 0.00 20" Shade
224045 22669 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
224156 22673 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
215005 21898 15 12.000 A 0.000 A ST36 0.00 0.00 0 0.00 36" Stem
224046 22669 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
224082 22670 15 18.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
224157 22673 15 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
224047 22669 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
224083 22670 20 18.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
224158 22673 20 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
224048 22669 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
224084 22670 25 18.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
224159 22673 25 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
237122 22669 27 18.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237124 22670 27 29.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237123 22669 28 18.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
237125 22670 28 29.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
224049 22669 30 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
224085 22670 30 29.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
224160 22673 30 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
239308 22673 32 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
239309 22673 33 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
242075 22669 33 18.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
242080 22670 33 29.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
224050 22669 35 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
224086 22670 35 29.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
224161 22673 35 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
242085 22673 38 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
224051 22669 40 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
224087 22670 40 29.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
224162 22673 40 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
224052 22669 45 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
224088 22670 45 29.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
224163 22673 45 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
224053 22669 50 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
224089 22670 50 29.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
224164 22673 50 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
224054 22669 55 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
224090 22670 55 29.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
224165 22673 55 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
242076 22669 58 18.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
242081 22670 58 29.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
224055 22669 60 18.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
224091 22670 60 29.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
224166 22673 60 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
242086 22673 63 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
224056 22669 65 18.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
224092 22670 65 29.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
224167 22673 65 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
224057 22669 70 18.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
224093 22670 70 29.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
224168 22673 70 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
224058 22669 75 18.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
224094 22670 75 29.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
224169 22673 75 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
224059 22669 80 18.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
224095 22670 80 29.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
224170 22673 80 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
224060 22669 85 18.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
224096 22670 85 29.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
224171 22673 85 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
224061 22669 90 18.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
224097 22670 90 29.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
224172 22673 90 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
224062 22669 95 18.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
224098 22670 95 29.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
224173 22673 95 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
242077 22669 98 18.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
242082 22670 98 29.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
224063 22669 100 18.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
224099 22670 100 29.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
224174 22673 100 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
242078 22669 103 18.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
242083 22670 103 29.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
224064 22669 105 18.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
224100 22670 105 29.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
242087 22673 105 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
224065 22669 110 18.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
224101 22670 110 29.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
224175 22673 110 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
242088 22673 113 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
224066 22669 115 18.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
224102 22670 115 29.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
224176 22673 115 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
224067 22669 120 18.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
224103 22670 120 29.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
224177 22673 120 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
224068 22669 125 18.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
224104 22670 125 29.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
224178 22673 125 11.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
242079 22669 126 18.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
224073 22669 127 55.000 A 0.000 A 930 0.00 0.00 0 0.00 930-Painted Aged Brass
242084 22670 128 29.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
224074 22669 129 55.000 A 0.000 A 940 0.00 0.00 0 0.00 940-Painted Aged Copper
224179 22673 130 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
242756 22669 130 18.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242760 22670 130 29.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242757 22669 132 18.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242761 22670 132 29.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242758 22669 134 18.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242762 22670 134 29.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
224180 22673 135 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
242089 22673 136 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
242759 22669 136 18.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
242763 22670 136 29.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
224181 22673 137 15.000 A 0.000 A 930 0.00 0.00 0 0.00 930-Painted Aged Brass
224182 22673 138 15.000 A 0.000 A 940 0.00 0.00 0 0.00 940-Painted Aged Copper
242872 22673 140 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242873 22673 142 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242874 22673 144 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242875 22673 146 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite