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 (
    21170, 21171, 21172, 21173, 21174, 21175, 
    21176, 21177, 21178, 21179, 21180, 
    21181, 21182, 21183, 21184, 21185, 
    21186, 21187, 21188, 21189, 21190, 
    21191, 21192, 21193
  ) 
  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.00070

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 (21170,21171,21172,21173,21174,21175,21176,21177,21178,21179,21180,21181,21182,21183,21184,21185,21186,21187,21188,21189,21190,21191,21192,21193) 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
21170 gel-lak-edlen-color-032-asfaltoviy-9-ml 387/941/1016
21171 gel-lak-edlen-color-033-siro-fioletoviy-9-ml 387/941/1016
21172 gel-lak-edlen-color-034-tepliy-siriy-9-ml 387/941/1016
21173 gel-lak-edlen-color-035-siriy-9-ml 387/941/1016
21174 gel-lak-edlen-color-036-siro-fioletoviy-9-ml 387/941/1016
21175 gel-lak-edlen-color-037-pastelno-siriy-9-ml 387/941/1016
21176 gel-lak-edlen-color-038-pudroviy-9-ml 387/941/1016
21177 gel-lak-edlen-color-039-pudrovo-rozheviy-9-ml 387/941/1016
21178 gel-lak-edlen-color-040-liloviy-z-sribnim-shimmerom-9-ml 387/941/1016
21179 gel-lak-edlen-color-041-yaskravo-liloviy-9-ml 387/941/1016
21180 gel-lak-edlen-color-042-fioletoviy-9-ml 387/941/1016
21181 gel-lak-edlen-color-043-fioletovo-siniy-9-ml 387/941/1016
21182 gel-lak-edlen-color-044-nasicheno-fioletoviy-9-ml 387/941/1016
21183 gel-lak-edlen-color-045-blakitno-nebesniy-9-ml 387/941/1016
21184 gel-lak-edlen-color-046-nebesniy-9-ml 387/941/1016
21185 gel-lak-edlen-color-047-blakitniy-9-ml 387/941/1016
21186 gel-lak-edlen-color-048-svitlo-blakitniy-9-ml 387/941/1016
21187 gel-lak-edlen-color-049-blakitno-biryuzoviy-9-ml 387/941/1016
21188 gel-lak-edlen-color-050-morska-hvilya-9-ml 387/941/1016
21189 gel-lak-edlen-color-051-svitlo-biryuzoviy-9-ml 387/941/1016
21190 gel-lak-edlen-color-052-biryuzoviy-9-ml 387/941/1016
21191 gel-lak-edlen-color-053-dzhinsoviy-9-ml 387/941/1016
21192 gel-lak-edlen-color-054-siniy-elektrik-9-ml 387/941/1016
21193 gel-lak-edlen-color-055-priglusheniy-siniy-9-ml 387/941/1016