SELECT 
  object_id, 
  name 
FROM 
  cscart_seo_names 
WHERE 
  name IN ('cakes-and-chocolates', 'cakes') 
  AND type = 'c' 
  AND lang_code = 'en' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.81"
    },
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "range",
      "possible_keys": [
        "name",
        "type"
      ],
      "key": "name",
      "used_key_parts": [
        "name",
        "lang_code"
      ],
      "key_length": "758",
      "rows_examined_per_scan": 2,
      "rows_produced_per_join": 0,
      "filtered": "2.50",
      "index_condition": "((`eshopuga_upgr_4122`.`cscart_seo_names`.`name` in ('cakes-and-chocolates','cakes')) and (`eshopuga_upgr_4122`.`cscart_seo_names`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "4.80",
        "eval_cost": "0.01",
        "prefix_cost": "4.81",
        "data_read_per_join": "86"
      },
      "used_columns": [
        "name",
        "object_id",
        "company_id",
        "type",
        "lang_code"
      ],
      "attached_condition": "((`eshopuga_upgr_4122`.`cscart_seo_names`.`type` = 'c') and ((`eshopuga_upgr_4122`.`cscart_seo_names`.`company_id` = 1) or (`eshopuga_upgr_4122`.`cscart_seo_names`.`company_id` = 0)))"
    }
  }
}

Result

object_id name
434 cakes
302 cakes-and-chocolates