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 (
    20665, 24347, 20664, 24348, 20889, 24349, 
    24350, 20891, 22003, 22004, 22005, 
    22006, 22007, 22008, 22009, 22010, 
    22011, 22012, 22371, 22378, 22372, 
    22379, 22373, 22385
  ) 
  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.00148

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "210",
          "used_key_parts": [
            "object_id",
            "type",
            "dispatch",
            "lang_code",
            "company_id"
          ],
          "rows": 48,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (20665,24347,20664,24348,20889,24349,24350,20891,22003,22004,22005,22006,22007,22008,22009,22010,22011,22012,22371,22378,22372,22379,22373,22385) 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)"
        }
      }
    ]
  }
}

Result

product_id seo_name seo_path
20664 gel-gama-simple-gel-26-nizhno-rozheviy-15-ml 484/947/1036
20665 gel-gama-simple-gel-25-lyalkoviy-15-ml 484/947/1036
20889 gel-gama-simple-gel-28-zefirniy-15-ml 484/947/1036
20891 gel-gama-simple-gel-30-akvamarinoviy-15-ml 484/947/1036
22003 gel-gama-simple-gel-nizhnyy-31-nizhniy-15-ml 484/947/1036
22004 gel-gama-simple-gel-nizhnyy-31-nizhniy-30-ml 484/947/1036
22005 gel-gama-simple-gel-karamelnyy-32-15-ml 484/947/1036
22006 gel-gama-simple-gel-karamelnyy-32-karamelniy-30-ml 484/947/1036
22007 gel-gama-simple-gel-33-kvitkoviy-15-ml 484/947/1036
22008 gel-gama-simple-gel-kvitkovyy-33-rozheviy-30-ml 484/947/1036
22009 gel-gama-simple-gel-34-vishukaniy-15-ml 484/947/1036
22010 gel-gama-simple-gel-34-vishukaniy-30-ml 484/947/1036
22011 gel-gama-simple-gel-nizhno-lilovyy-35-tepliy-nyud-15-ml 484/947/1036
22012 gel-gama-simple-gel-nizhno-lilovyy-35-tepliy-nyud-30-ml 484/947/1036
22371 gel-gama-simple-gel-36-lollipop-chervoniy-15-ml 484/947/1036
22372 gel-gama-simple-gel-37-candy-floss-lososeviy-15-ml 484/947/1036
22373 gel-gama-simple-gel-38-rozheviy-15-ml 484/947/1036
22378 gel-gama-simple-gel-36-lollipop-chervoniy-30-ml 484/947/1036
22379 gel-gama-simple-gel-37-candy-floss-lososeviy-30-ml 484/947/1036
22385 gel-gama-simple-gel-38-chew-bar-rozheviy-30-ml-ru 484/947/1036
24347 gel-gama-simple-gel-25-lyalkoviy-30-ml 484/947/1036
24348 gel-gama-simple-gel-26-nizhno-rozheviy-30-ml 484/947/1036
24349 gel-gama-simple-gel-28-zefirniy-30-ml 484/947/1036
24350 gel-gama-simple-gel-29-rumyaniy-30-ml 484/947/1036