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 (
    20921, 20922, 9505, 11707, 12066, 11021, 
    10871, 18152, 18072, 10861, 12113, 
    19585, 19584, 18670, 19823, 11119, 
    12115
  ) 
  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.00075

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": 34,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (20921,20922,9505,11707,12066,11021,10871,18152,18072,10861,12113,19585,19584,18670,19823,11119,12115) 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
10861 rushniki-doily-50x80-sm-glad-100-sht 397/588
10871 prostiradlo-doily-06x200-m-bila-10-sht 397/588
11021 rushniki-v-pachci-panni-mlada-40-70-100-sht-sitka 397/588
11119 rushniki-doily-50x80-sm-glad-50-sht 397/588
11707 rushniki-v-pachci-compact-doily-4070-sitka-50-sht 397/588
12066 rushniki-v-pachci-panni-mlada-40-70-100-sht-glad 397/588
12113 rushniki-doily-50x80-sm-sitka-100-sht 397/588
12115 rushniki-doily-50x80-sm-sitka-50-sht 397/588
18072 rushniki-v-ruloni-doily-4070-100-sht-sitka-uk 397/588
18152 rushniki-v-ruloni-doily-4070-100-sht-glad-uk 397/588
18670 servetki-v-ruloni-panni-mlada-20x20-sm-glad-100sht-uk 397/588
19584 rushniki-v-ruloni-doily-3050-100-sht-sitka-uk 397/588
19585 rushniki-v-ruloni-doily-3050-100-sht-glad-uk 397/588
19823 rushniki-v-korobci-doily-cross-infinity-4070-sitka-50-sht-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