SELECT 
  cscart_seo_names.object_id AS product_id, 
  cscart_seo_names.name AS seo_name, 
  cscart_seo_names.path AS seo_path 
FROM 
  cscart_seo_names 
WHERE 
  cscart_seo_names.object_id IN (394, 396, 397, 398, 395) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "24.01"
    },
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "dispatch"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "object_id",
        "type",
        "dispatch",
        "lang_code",
        "company_id"
      ],
      "key_length": "210",
      "rows_examined_per_scan": 10,
      "rows_produced_per_join": 10,
      "filtered": "100.00",
      "index_condition": "((`eshopuga_upgr_4122`.`cscart_seo_names`.`object_id` in (394,396,397,398,395)) and (`eshopuga_upgr_4122`.`cscart_seo_names`.`type` = 'p') and (`eshopuga_upgr_4122`.`cscart_seo_names`.`dispatch` = '') and (`eshopuga_upgr_4122`.`cscart_seo_names`.`lang_code` = 'en') and ((`eshopuga_upgr_4122`.`cscart_seo_names`.`company_id` = 1) or (`eshopuga_upgr_4122`.`cscart_seo_names`.`company_id` = 0)))",
      "cost_info": {
        "read_cost": "22.01",
        "eval_cost": "2.00",
        "prefix_cost": "24.01",
        "data_read_per_join": "16K"
      },
      "used_columns": [
        "name",
        "object_id",
        "company_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
394 long-stem-yellow-roses 328/336/337
395 red-in-bloom 328/336/337
396 luxury-pink-roses-en 328/336/337
397 luxury-white-roses-en 328/336/337
398 make-her-day 328/336/337