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 (
    22789, 22788, 22805, 21951, 22817, 21954, 
    22794, 22795, 22796, 22797, 22798, 
    21941
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00198

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": 151,
          "filtered": 100,
          "index_condition": "a.option_id in (22789,22788,22805,21951,22817,21954,22794,22795,22796,22797,22798,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
226326 22788 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
226331 22789 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
226434 22794 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
226439 22795 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
226444 22796 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
226449 22797 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
226485 22798 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
226576 22805 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Select Option
226770 22817 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Select Option
226771 22817 2 0.000 A 0.000 A 0.00 0.00 22805 0.00 Same as Fitter
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
226438 22794 3 0.000 A 0.000 A NA 0.00 0.00 0 0.00 None
226443 22795 3 0.000 A 0.000 A NA 0.00 0.00 0 0.00 None
226448 22796 3 0.000 A 0.000 A NA 0.00 0.00 0 0.00 None
226453 22797 3 0.000 A 0.000 A NA 0.00 0.00 0 0.00 None
226546 22805 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
226740 22817 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
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
226327 22788 5 0.000 A 0.000 A SCH10 0.00 0.00 0 0.00 Small Opaque Glass
226332 22789 5 0.000 A 0.000 A 0.00 0.00 0 0.00 Standard Bulb E26/GU24
226435 22794 5 30.000 A 0.000 A PB1 0.00 0.00 0 0.00 PB1 - Single Painted Band
226440 22795 5 30.000 A 0.000 A PB1 0.00 0.00 0 0.00 PB1 - Single Painted Band
226445 22796 5 30.000 A 0.000 A PB1 0.00 0.00 0 0.00 PB1 - Single Painted Band
226450 22797 5 30.000 A 0.000 A PB1 0.00 0.00 0 0.00 PB1 - Single Painted Band
226455 22798 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
226547 22805 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
226741 22817 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
215558 21954 10 10.000 A 0.000 A CSB 0.00 0.00 0 3.66 Black Cloth
226328 22788 10 36.000 A 0.000 A SCH14 0.00 0.00 0 0.00 Large Opaque Glass
226333 22789 10 0.000 A 0.000 A 0.00 0.00 0 0.00 Integrated LED
226436 22794 10 30.000 A 0.000 A PB2 0.00 0.00 0 0.00 PB2 - Double Painted Band
226441 22795 10 30.000 A 0.000 A PB2 0.00 0.00 0 0.00 PB2 - Double Painted Band
226446 22796 10 30.000 A 0.000 A PB2 0.00 0.00 0 0.00 PB2 - Double Painted Band
226451 22797 10 30.000 A 0.000 A PB2 0.00 0.00 0 0.00 PB2 - Double Painted Band
226548 22805 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
226742 22817 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
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
226329 22788 15 0.000 A 0.000 A SCHCL10 0.00 0.00 0 0.00 Small Clear Glass
226437 22794 15 30.000 A 0.000 A PB3 0.00 0.00 0 0.00 PB3 - Triple Painted Band
226442 22795 15 30.000 A 0.000 A PB3 0.00 0.00 0 0.00 PB3 - Triple Painted Band
226447 22796 15 30.000 A 0.000 A PB3 0.00 0.00 0 0.00 PB3 - Triple Painted Band
226452 22797 15 30.000 A 0.000 A PB3 0.00 0.00 0 0.00 PB3 - Triple Painted Band
226457 22798 15 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
226549 22805 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
226743 22817 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
226571 22805 18 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
226765 22817 18 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
226564 22805 19 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
226758 22817 19 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
215560 21954 20 10.000 A 0.000 A CRM 0.00 0.00 0 3.66 Creme Cloth
226330 22788 20 36.000 A 0.000 A SCHCL14 0.00 0.00 0 0.00 Large Clear Glass
237098 22805 21 18.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237100 22817 21 18.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
237099 22805 22 18.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
237101 22817 22 18.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
226550 22805 24 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
226744 22817 24 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
215561 21954 25 10.000 A 0.000 A BPNK 0.00 0.00 0 3.66 Blush Pink Cloth
241305 22805 26 18.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
241330 22817 26 18.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
226551 22805 27 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
226745 22817 27 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
215562 21954 30 30.000 A 0.000 A CNF 0.00 0.00 0 10.66 Confetti Cloth
226552 22805 30 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
226746 22817 30 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
215563 21954 35 10.000 A 0.000 A RST 0.00 0.00 0 3.66 Rust Cloth
226553 22805 35 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
226747 22817 35 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
215564 21954 40 15.000 A 0.000 A RBS 0.00 0.00 0 6.81 Barn Red & Black Swirl Cloth
226462 22798 40 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
226554 22805 40 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
226748 22817 40 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
215565 21954 45 10.000 A 0.000 A ORG 0.00 0.00 0 3.66 Orange Cloth
226555 22805 45 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
226749 22817 45 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241306 22805 48 18.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
241331 22817 48 18.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
215566 21954 50 10.000 A 0.000 A YLW 0.00 0.00 0 3.66 Buttery Yellow Cloth
226481 22798 50 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
226556 22805 50 18.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
226750 22817 50 18.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
244281 22798 53 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
215567 21954 55 10.000 A 0.000 A NGRN 0.00 0.00 0 3.66 Neon Green Cloth
226465 22798 55 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
226557 22805 55 18.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
226751 22817 55 18.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
215568 21954 60 10.000 A 0.000 A EGRN 0.00 0.00 0 3.66 Emerald Green Cloth
226466 22798 60 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
226558 22805 60 18.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
226752 22817 60 18.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
215569 21954 65 30.000 A 0.000 A FGRN 0.00 0.00 0 10.66 Fern Green Chevron Cloth
226559 22805 65 18.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
226753 22817 65 18.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
244282 22798 65 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
226560 22805 70 18.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
226754 22817 70 18.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
239948 22798 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
226561 22805 75 18.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
226755 22817 75 18.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
243104 21954 75 10.000 A 0.000 A SBLU 0.00 0.00 0 3.66 Sky Blue Cloth
226470 22798 80 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
226562 22805 80 18.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
226756 22817 80 18.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
243105 21954 80 10.000 A 0.000 A RBLU 0.00 0.00 0 3.66 Royal Blue Cloth
226563 22805 85 18.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
226757 22817 85 18.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
243106 21954 85 10.000 A 0.000 A NVY 0.00 0.00 0 3.66 Navy Cloth
241307 22805 88 18.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
241332 22817 88 18.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
226472 22798 90 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
226565 22805 95 18.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
226759 22817 95 18.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Textured Bronze
241308 22805 98 18.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
241333 22817 98 18.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
226474 22798 100 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
226566 22805 100 18.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
226760 22817 100 18.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
226567 22805 105 18.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
226761 22817 105 18.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
226568 22805 110 18.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
226762 22817 110 18.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
226477 22798 115 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
226569 22805 115 18.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
226763 22817 115 18.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
226478 22798 120 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
226570 22805 120 18.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
226764 22817 120 18.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
226483 22798 123 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite
241309 22805 123 18.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
241334 22817 123 18.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
242517 22805 124 18.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242537 22817 125 18.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242518 22805 126 18.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242538 22817 127 18.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242519 22805 128 18.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242539 22817 129 18.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242520 22805 130 18.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
242540 22817 131 18.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
229781 22805 150 151.000 A 0.000 A 995 0.00 0.00 0 0.00 995-Raw Copper
229782 22805 155 180.000 A 0.000 A 996 0.00 0.00 0 0.00 996-Weathered Copper
229783 22805 160 180.000 A 0.000 A 999 0.00 0.00 0 0.00 999-Oil-Rubbed Copper
229784 22805 165 180.000 A 0.000 A 997 0.00 0.00 0 0.00 997-Raw Brass
229785 22805 170 208.000 A 0.000 A 998 0.00 0.00 0 0.00 998-Weathered Brass