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 (
    22593, 23525, 23526, 23527, 22592, 23116, 
    22644
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00250

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 (22593,23525,23526,23527,22592,23116,22644) 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
222969 22592 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
222970 22593 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
223755 22644 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
230828 23116 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
236566 23525 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
236598 23526 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
236635 23527 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
222959 22592 3 0.000 A 0.000 A CLR 0.00 0.00 0 0.00 Clear Glass
236531 23525 3 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
236567 23526 3 0.000 A 0.000 A 0.00 0.00 23525 0.00 Same as Shade
222960 22592 5 10.000 A 0.000 A FST 0.00 0.00 0 0.00 Frosted Glass
222971 22593 5 0.000 A 0.000 A ULC12 0.00 0.00 0 0.00 12" Shade
223756 22644 5 0.000 A 0.000 A 2700K 0.00 0.00 0 0.00 2700K - Warm White/Soft White
230827 23116 5 0.000 A 0.000 A LED16.8 0.00 0.00 0 0.00 16.8W LED - 1600 Lumen
236532 23525 5 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
236568 23526 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
236605 23527 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
222961 22592 10 10.000 A 0.000 A RIB 0.00 0.00 0 0.00 Ribbed Glass
222972 22593 10 13.000 A 0.000 A ULC14 0.00 0.00 0 0.00 14" Shade
223757 22644 10 0.000 A 0.000 A 3000K 0.00 0.00 0 0.00 3000K - Neutral White
236533 23525 10 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
236569 23526 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
236606 23527 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
222973 22593 15 24.000 A 0.000 A ULC16 0.00 0.00 0 0.00 16" Shade
223758 22644 15 0.000 A 0.000 A 3500K 0.00 0.00 0 0.00 3500K - Bright White
236534 23525 15 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
236570 23526 15 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
236607 23527 15 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
222974 22593 20 47.000 A 0.000 A ULC18 0.00 0.00 0 0.00 18" Shade
223759 22644 20 0.000 A 0.000 A 4000K 0.00 0.00 0 0.00 4000K - Cool White
236535 23525 20 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
236571 23526 20 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
236608 23527 20 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
240476 23525 23 18.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
240477 23525 24 18.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
236536 23525 25 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
236572 23526 25 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
236609 23527 25 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
236592 23526 28 0.000 A 0.000 A 980 0.00 0.00 0 0.00 980-Brushed Aluminum
236629 23527 28 0.000 A 0.000 A 980 0.00 0.00 0 0.00 980-Brushed Aluminum
236537 23525 30 18.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
236573 23526 30 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
236610 23527 30 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
240478 23526 32 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
240480 23527 32 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
242827 23525 32 18.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
240479 23526 33 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
240481 23527 33 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
241610 23525 33 18.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
236538 23525 35 18.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
236574 23526 35 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
236611 23527 35 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
242831 23526 36 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
242835 23527 36 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
241615 23526 38 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
241620 23527 38 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
236539 23525 40 18.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
236575 23526 40 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
236612 23527 40 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
236540 23525 45 18.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
236576 23526 45 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
236613 23527 45 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
236541 23525 50 18.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
236577 23526 50 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
236614 23527 50 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
236542 23525 55 18.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
236578 23526 55 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
236615 23527 55 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
241611 23525 58 18.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
236543 23525 60 18.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
236579 23526 60 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
236616 23527 60 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
241616 23526 63 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
241621 23527 63 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
236544 23525 65 18.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
236580 23526 65 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
236617 23527 65 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
236545 23525 70 18.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
236581 23526 70 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
236618 23527 70 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
236546 23525 75 18.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
236582 23526 75 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
236619 23527 75 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
236547 23525 80 18.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
236583 23526 80 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
236620 23527 80 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
236548 23525 85 18.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
236584 23526 85 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
236621 23527 85 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
236549 23525 90 18.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
236585 23526 90 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
236622 23527 90 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
236550 23525 95 18.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
236586 23526 95 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
236623 23527 95 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
241612 23525 98 18.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
236551 23525 100 18.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
236587 23526 100 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
236624 23527 100 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
241613 23525 103 18.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
241617 23526 103 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
241622 23527 104 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
236552 23525 105 18.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
236588 23526 105 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
236625 23527 105 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
241618 23526 108 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
241623 23527 108 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
236553 23525 110 18.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
236589 23526 110 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
236626 23527 110 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
236590 23526 112 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
242828 23525 112 18.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
242829 23525 113 18.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242832 23526 114 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
236554 23525 115 18.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
236627 23527 115 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
242833 23526 116 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
242836 23527 116 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
236603 23526 117 11.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
242837 23527 117 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
236604 23526 118 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
236640 23527 119 11.000 A 0.000 A 790 0.00 0.00 0 0.00 790-Lavender
236555 23525 120 18.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
236591 23526 120 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
236641 23527 120 11.000 A 0.000 A 800 0.00 0.00 0 0.00 800-Industrial Grey
242834 23526 121 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241619 23526 123 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
236628 23527 124 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
236556 23525 125 18.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
242830 23525 126 18.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241614 23525 128 18.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
242838 23527 128 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
241624 23527 130 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
236561 23525 150 160.000 A 0.000 A 995 0.00 0.00 0 0.00 995-Raw Copper
236562 23525 155 200.000 A 0.000 A 996 0.00 0.00 0 0.00 996-Weathered Copper
236563 23525 160 250.000 A 0.000 A 999 0.00 0.00 0 0.00 999-Oil-Rubbed Copper
236564 23525 165 210.000 A 0.000 A 997 0.00 0.00 0 0.00 997-Raw Brass
236565 23525 170 250.000 A 0.000 A 998 0.00 0.00 0 0.00 998-Weathered Brass