SELECT 
  a.modifier, 
  a.modifier_type, 
  a.commercial_dn, 
  a.same_as_option, 
  a.price_overrides, 
  a.base_cost, 
  a.variant_id 
FROM 
  cscart_product_option_variants a 
  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 
  1 
  AND a.variant_id IN (
    231182, 220140, 220106, 220190, 220191, 
    220199, 220065, 223933, 233546, 220256, 
    220257, 220255, 220414, 220286, 220301, 
    220302, 220296, 230828, 223755
  )

Query time 0.00054

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
    },
    "table": {
      "table_name": "a",
      "access_type": "range",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["variant_id"],
      "rows": 19,
      "filtered": 100,
      "attached_condition": "a.variant_id in (231182,220140,220106,220190,220191,220199,220065,223933,233546,220256,220257,220255,220414,220286,220301,220302,220296,230828,223755)"
    }
  }
}

Result

modifier modifier_type commercial_dn same_as_option price_overrides base_cost variant_id
0.000 A 0.00 0 0.00 220065
0.000 A 0.00 0 0.00 220106
0.000 A 0.00 0 0.00 220140
0.000 A 0.00 0 0.00 220190
0.000 A 0.00 0 0.00 220191
0.000 A 0.00 0 0.00 220199
0.000 A 0.00 0 0.00 220255
0.000 A 0.00 0 0.00 220256
0.000 A 0.00 0 0.00 220257
0.000 A 0.00 0 0.00 220286
0.000 A 0.00 0 0.00 220296
0.000 A 0.00 0 0.00 220301
0.000 A 0.00 0 0.00 220302
0.000 A 0.00 0 0.00 220414
0.000 A 0.00 0 0.00 223755
0.000 A 0.00 0 0.00 223933
0.000 A 0.00 0 0.00 230828
0.000 A 0.00 0 0.00 231182
0.000 A 0.00 0 0.00 233546