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 (
    22472, 19374, 12114, 20921, 20922, 9505, 
    11707, 12066, 11021, 10871, 18152, 
    18072, 10861, 12113, 19585, 19584, 
    22499, 22498, 10814, 18552, 10926, 
    23518, 11713, 12836
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'uk' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00135

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 (22472,19374,12114,20921,20922,9505,11707,12066,11021,10871,18152,18072,10861,12113,19585,19584,22499,22498,10814,18552,10926,23518,11713,12836) and cscart_seo_names.`type` = 'p' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'uk' and (cscart_seo_names.company_id = 1 or cscart_seo_names.company_id = 0)"
        }
      }
    ]
  }
}

Result

product_id seo_name seo_path
9505 rushniki-v-pachci-compact-doily-4070-glad-50-sht 397/588
10814 servetki-bezvorsovi-6h6-sm-doily-riznokolorovi-400-sht 397/398
10861 rushniki-doily-50x80-sm-glad-100-sht 397/588
10871 prostiradlo-doily-06x200-m-bila-10-sht 397/588
10926 servetki-bezvorsovie-6h6-sm-lilly-bili-100-sht 397/398
11021 rushniki-v-pachci-panni-mlada-40-70-100-sht-sitka 397/588
11707 rushniki-v-pachci-compact-doily-4070-sitka-50-sht 397/588
11713 servetki-bezvorsovi-lillybeaute-900-sht 397/398
12066 rushniki-v-pachci-panni-mlada-40-70-100-sht-glad 397/588
12113 rushniki-doily-50x80-sm-sitka-100-sht 397/588
12114 rukavichki-nitrilovi-polix-pro-and-med-rozmir-xs-black-chorni-100-sht 397/465
12836 servetki-v-pachci-doily-20x20-sm-glad-100-sht 397/398
18072 rushniki-v-ruloni-doily-4070-100-sht-sitka-uk 397/588
18152 rushniki-v-ruloni-doily-4070-100-sht-glad-uk 397/588
18552 odnorazove-prostiradlo-panni-mlada-rozheve-06x200-m-uk 397/398
19374 rukavichki-nitrilovi-polix-pro-uk 397/465
19584 rushniki-v-ruloni-doily-3050-100-sht-sitka-uk 397/588
19585 rushniki-v-ruloni-doily-3050-100-sht-glad-uk 397/588
20921 rushniki-v-korobci-panni-mlada-4070-100-sht-glad-uk 397/588
20922 rushniki-v-korobci-panni-mlada-4070-100-sht-sitka-uk 397/588
22472 rukavichki-chorni-nitrilovi-micni-mikrostop-l-100-sht-uk 397/465
22498 rushniki-universalni-odnorazovi-v-ruloni-panni-mlada-3050-sitka-rozheva-hvilya-100-sht-uk 397
22499 rushniki-universalni-odnorazovi-v-ruloni-panni-mlada-2530-sitka-rozheva-hvilya-100-sht-uk 397/398
23518 servetki-bezvorsovi-kodi-1500-sht-uk 397/398