SELECT 
  type 
FROM 
  cscart_seo_names 
WHERE 
  name = 'smirnoff-green-apple-twist-vodka-1lt' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.20"
    },
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "ref",
      "possible_keys": [
        "name",
        "type"
      ],
      "key": "name",
      "used_key_parts": [
        "name"
      ],
      "key_length": "752",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 1,
      "rows_produced_per_join": 0,
      "filtered": "19.00",
      "cost_info": {
        "read_cost": "1.00",
        "eval_cost": "0.04",
        "prefix_cost": "1.20",
        "data_read_per_join": "329"
      },
      "used_columns": [
        "name",
        "company_id",
        "type"
      ],
      "attached_condition": "((`eshopuga_upgr_4122`.`cscart_seo_names`.`company_id` = 1) or (`eshopuga_upgr_4122`.`cscart_seo_names`.`company_id` = 0))"
    }
  }
}

Result

type
p