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 (
    51491, 51513, 51474, 51462, 51502, 51465, 
    51515, 51466, 51485, 51518, 51527, 
    51528, 51482, 51512, 51493, 51511, 
    51505, 51535
  ) 
  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.00064

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "25.21"
    },
    "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": 36,
      "rows_produced_per_join": 36,
      "filtered": "100.00",
      "index_condition": "((`test_uchur_k`.`cscart_seo_names`.`object_id` in (51491,51513,51474,51462,51502,51465,51515,51466,51485,51518,51527,51528,51482,51512,51493,51511,51505,51535)) 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": "21.61",
        "eval_cost": "3.60",
        "prefix_cost": "25.21",
        "data_read_per_join": "61K"
      },
      "used_columns": [
        "name",
        "object_id",
        "company_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
51462 termokruzhka-stanley-quencher-h2-0-0-88l-10-11912-150-s-trubochkoy-temno-seraya 2/3/4
51465 termokruzhka-stanley-quencher-h2-0-1-18l-10-11913-088-s-trubochkoy-bezhevaya 2/3/4
51466 termokruzhka-stanley-protour-0-89l-10-12981-008-kremovaya 2/3/4
51474 termos-stanley-adventure-0-5l-10-10816-016-belyy 2/3/117
51482 termos-costa-jtl-1008w-h-800-ml-cv-belyy 2/3/117
51485 termokruzhka-costa-jtl-2002k-l-620-ml-cv-chernyy 2/3/4
51491 termos-costa-hc03jpb-17-n-800-ml-cv-belyy-bezhevyy 2/3/117
51493 nabor-kruzhek-costa-co-qlb001-300-ml-cvet-belyy 2/3
51502 nabor-turisticheskoy-posudy-hispeed-lhjg-07-chaynik-skovoroda-i-2-kastryuli 2/3/158
51505 nabor-chashek-hispeed-qsb-01-4-chashki-podstakannik 2/3/158
51511 stopka-hispeed-cj-03-7-5-6h8-6cm 2/3/191
51512 miska-hispeed-cj-10-300ml-164-5cm 2/3/258
51513 miska-so-skladnoy-ruchkoy-hispeed-cj-11-300ml-214-5cm 2/3/258
51515 lanchboks-hispeed-fh-02-800ml-169-56cm-alyuminievyy 2/3/258
51518 kruzhka-hispeed-tcb-01-350ml 2/3/35
51527 chaynik-iz-aviacionnogo-alyuminiya-hispeed-lhjg-02-1-1l-15-58cm 2/3/205
51528 chaynik-iz-aviacionnogo-alyuminiya-hispeed-lhjg-03-1-5l-17-58cm 2/3/205
51535 nabor-turisticheskoy-posudy-hispeed-cj-46 2/3/158