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 (
    51358, 115, 37, 11, 140, 41, 30, 90, 38, 
    124, 81, 56, 135, 82, 116, 117, 125, 106, 
    39, 193, 65, 40, 22710, 22711, 17, 57, 
    122, 58, 5, 22, 18, 27
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'ru' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00068

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "44.81"
    },
    "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": 64,
      "rows_produced_per_join": 64,
      "filtered": "100.00",
      "index_condition": "((`test_uchur_k`.`cscart_seo_names`.`object_id` in (51358,115,37,11,140,41,30,90,38,124,81,56,135,82,116,117,125,106,39,193,65,40,22710,22711,17,57,122,58,5,22,18,27)) and (`test_uchur_k`.`cscart_seo_names`.`type` = 'p') and (`test_uchur_k`.`cscart_seo_names`.`dispatch` = '') and (`test_uchur_k`.`cscart_seo_names`.`lang_code` = 'ru') and ((`test_uchur_k`.`cscart_seo_names`.`company_id` = 1) or (`test_uchur_k`.`cscart_seo_names`.`company_id` = 0)))",
      "cost_info": {
        "read_cost": "38.41",
        "eval_cost": "6.40",
        "prefix_cost": "44.81",
        "data_read_per_join": "108K"
      },
      "used_columns": [
        "name",
        "object_id",
        "company_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
5 kepka-uchur-round-patch-cv-chernyy-bez-setki 40
11 shapka-uchur-beanie-cv-black 40
17 kepka-uchur-low-cap-cv-saas 40
18 kepka-uchur-low-cap-cv-taas 40
22 kepka-uchur-logo-mesh-cap-cv-black 40
27 kepka-uchur-logo-cap-cv-black 40
30 termobele-uchur-mens-thermal-underwear-cv-saas 40
37 kurtka-uchur-softshell-jacket-cv-black 40
38 kurtka-uchur-softshell-jacket-cv-grey 40
39 kurtka-uchur-softshell-jacket-cv-olive 40
40 kurtka-uchur-softshell-jacket-cv-saas 40
41 kurtka-uchur-softshell-jacket-cv-taas 40
56 shapka-uchur-traveler-cv-black 40
57 kepka-uchur-street-cv-saas 40
58 kepka-uchur-street-cv-taas 40
65 zhilet-steganyy-bulchut-tk-nylon-taslan-dobby-cv-chernyy 5/25
81 shapka-uchur-hunter-cv-taas 40
82 shapka-uchur-hunter-cv-saas 40
90 shtany-uchur-all-weather-pants-pro-cv-taas 40
106 kepka-uchur-visor-cv-taas 40
115 shapka-uchur-icon-wool-cv-bezhevyy 40
116 shapka-uchur-icon-wool-cv-seryy 40
117 shapka-uchur-icon-wool-cv-chernyy 40
122 kepka-uchur-round-patch-logo-grey-cv-chernyy-bez-setki 40
124 futbolka-zhenskaya-uchur-tuymaada-cotton-black-t-shirt 40
125 futbolka-zhenskaya-uchur-tuymaada-cotton-gray-t-shirt 40
135 shapka-ushanka-s-maskoy-bulchut-tk-finlyandiya-cv-haki-meh-volk-m 5/50/36
140 zhilet-uchur-weave-core-cv-chernyy 40
193 shtany-uchur-all-weather-pants-pro-cv-taas-40x30-ru 40
22710 trusy-uchur-flex-cv-chernyy-ru 5/18
22711 termoshtany-uchur-active-lite-cv-chernyy 5/18
51358 termobele-zhenskoe-uchur-haarchaana-cv-chernyy-razmer-l 40