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 (
    23981, 23982, 23978, 23900, 23983, 23871, 
    23979
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00159

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": 64,
          "filtered": 100,
          "index_condition": "a.option_id in (23981,23982,23978,23900,23983,23871,23979) 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
240716 23871 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
243113 23900 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
243829 23978 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
243830 23979 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
243838 23981 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
243841 23982 0 0.000 A 0.000 A unselected 0.00 0.00 0 0.00 Please Select
243876 23983 0 0.000 A 0.000 A skip 0.00 0.00 0 0.00 Please Select
243825 23978 3 0.000 A 0.000 A ASH 0.00 0.00 0 0.00 Ash Wood
240715 23871 5 0.000 A 0.000 A LED10 0.00 0.00 0 0.00 1035 Lumen
243826 23978 5 0.000 A 0.000 A MPL 0.00 0.00 0 0.00 Maple Wood
243831 23979 5 0.000 A 0.000 A 2700K 0.00 0.00 0 0.00 2700K - Warm White/Soft White
243840 23981 5 0.000 A 0.000 A DCM 0.00 0.00 0 0.00 Dual Canopy Mount
243842 23982 5 0.000 A 0.000 A LIN2 0.00 0.00 0 0.00 23.5" Light
243846 23983 5 0.000 A 0.000 A 100 0.00 0.00 0 0.00 100-Black
243827 23978 10 0.000 A 0.000 A OAK 0.00 0.00 0 0.00 Oak Wood
243832 23979 10 0.000 A 0.000 A 3000K 0.00 0.00 0 0.00 3000K - Neutral White
243839 23981 10 60.000 A 0.000 A SCM 0.00 0.00 0 0.00 Single Center Mount
243843 23982 10 26.000 A 0.000 A LIN3 0.00 0.00 0 0.00 34.5" Light
243847 23983 10 0.000 A 0.000 A 105 0.00 0.00 0 0.00 105-Textured Black
243828 23978 15 0.000 A 0.000 A WAL 0.00 0.00 0 0.00 Walnut Wood
243833 23979 15 0.000 A 0.000 A 3500K 0.00 0.00 0 0.00 3500K - Bright White
243844 23982 15 52.000 A 0.000 A LIN4 0.00 0.00 0 0.00 45.5" Light
243848 23983 15 0.000 A 0.000 A 200 0.00 0.00 0 0.00 200-White
243117 23900 20 18.000 A 0.000 A 36 0.00 0.00 0 0.00 36" Cable & Cord
243849 23983 20 0.000 A 0.000 A 300 0.00 0.00 0 0.00 300-Dark Green
243118 23900 25 24.000 A 0.000 A 72 0.00 0.00 0 0.00 72" Cable & Cord
243850 23983 25 0.000 A 0.000 A 975 0.00 0.00 0 0.00 975-Galvanized
243870 23983 28 0.000 A 0.000 A 980 0.00 0.00 0 0.00 980-Brushed Aluminum
243119 23900 30 42.000 A 0.000 A 108 0.00 0.00 0 0.00 108" Cable & Cord
243851 23983 30 0.000 A 0.000 A 605 0.00 0.00 0 0.00 605-Textured Rust
244283 23983 33 11.000 A 0.000 A 106 0.00 0.00 0 0.00 106-Matte Black
244284 23983 34 11.000 A 0.000 A 206 0.00 0.00 0 0.00 206-Matte White
243852 23983 35 11.000 A 0.000 A 307 0.00 0.00 0 0.00 307-Emerald Green
243877 23983 36 11.000 A 0.000 A 311 0.00 0.00 0 0.00 311-Jadite
243881 23983 38 11.000 A 0.000 A 320 0.00 0.00 0 0.00 320-Fern Green
243853 23983 40 11.000 A 0.000 A 370 0.00 0.00 0 0.00 370-Mint
243854 23983 45 11.000 A 0.000 A 380 0.00 0.00 0 0.00 380-Chartreuse
243855 23983 50 11.000 A 0.000 A 390 0.00 0.00 0 0.00 390-Teal
243856 23983 55 11.000 A 0.000 A 400 0.00 0.00 0 0.00 400-Barn Red
243857 23983 60 11.000 A 0.000 A 420 0.00 0.00 0 0.00 420-Orange
243882 23983 63 11.000 A 0.000 A 430 0.00 0.00 0 0.00 430-Soft Clay
243858 23983 65 11.000 A 0.000 A 470 0.00 0.00 0 0.00 470-Watermelon
243859 23983 70 11.000 A 0.000 A 480 0.00 0.00 0 0.00 480-Blush Pink
243860 23983 75 11.000 A 0.000 A 490 0.00 0.00 0 0.00 490-Magenta
243861 23983 80 11.000 A 0.000 A 495 0.00 0.00 0 0.00 495-Sherbet Orange
243862 23983 85 11.000 A 0.000 A 500 0.00 0.00 0 0.00 500-Buttery Yellow
243863 23983 90 11.000 A 0.000 A 570 0.00 0.00 0 0.00 570-Sunflower
243864 23983 95 11.000 A 0.000 A 600 0.00 0.00 0 0.00 600-Bronze
243865 23983 100 11.000 A 0.000 A 601 0.00 0.00 0 0.00 601-Chocolate
243883 23983 103 11.000 A 0.000 A 607 0.00 0.00 0 0.00 607-Taupe
243866 23983 105 11.000 A 0.000 A 615 0.00 0.00 0 0.00 615-Oil-Rubbed Bronze
243884 23983 108 11.000 A 0.000 A 630 0.00 0.00 0 0.00 630-Beige
243867 23983 110 11.000 A 0.000 A 700 0.00 0.00 0 0.00 700-Royal Blue
243868 23983 115 11.000 A 0.000 A 705 0.00 0.00 0 0.00 705-Navy
243878 23983 117 11.000 A 0.000 A 710 0.00 0.00 0 0.00 710-Cobalt Blue
243879 23983 118 11.000 A 0.000 A 715 0.00 0.00 0 0.00 715-Delphite Blue
243869 23983 120 11.000 A 0.000 A 805 0.00 0.00 0 0.00 805-Charcoal Granite
243880 23983 121 11.000 A 0.000 A 810 0.00 0.00 0 0.00 810-Graphite
243885 23983 122 11.000 A 0.000 A 815 0.00 0.00 0 0.00 815-Light Grey
243871 23983 135 93.000 A 0.000 A 995 0.00 0.00 0 0.00 995-Raw Copper
243872 23983 140 93.000 A 0.000 A 996 0.00 0.00 0 0.00 996-Weathered Copper
243873 23983 145 93.000 A 0.000 A 999 0.00 0.00 0 0.00 999-Oil-Rubbed Copper
243874 23983 150 93.000 A 0.000 A 997 0.00 0.00 0 0.00 997-Raw Brass
243875 23983 155 93.000 A 0.000 A 998 0.00 0.00 0 0.00 998-Weathered Brass