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 (
    3052, 3634, 3053, 5209, 3852, 3851, 5235, 
    5234, 5849, 5554, 5551, 5553, 5550, 
    5552, 5123, 5125, 2242, 4244, 7892, 
    6059, 5895, 5844, 6034, 6035
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'de' 
  AND (
    1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00085

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.16"
    },
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "dispatch"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "object_id",
        "type",
        "dispatch",
        "lang_code"
      ],
      "key_length": "206",
      "rows_examined_per_scan": 27,
      "rows_produced_per_join": 27,
      "filtered": "100.00",
      "index_condition": "((`dbggbern`.`cscart_seo_names`.`object_id` in (3052,3634,3053,5209,3852,3851,5235,5234,5849,5554,5551,5553,5550,5552,5123,5125,2242,4244,7892,6059,5895,5844,6034,6035)) and (`dbggbern`.`cscart_seo_names`.`type` = 'p') and (`dbggbern`.`cscart_seo_names`.`dispatch` = '') and (`dbggbern`.`cscart_seo_names`.`lang_code` = 'de'))",
      "cost_info": {
        "read_cost": "15.46",
        "eval_cost": "2.70",
        "prefix_cost": "18.16",
        "data_read_per_join": "45K"
      },
      "used_columns": [
        "name",
        "object_id",
        "company_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
2242 slider-stand-for-ultimate-guard-cases-5pcs 7
3052 satin-tower-glitter-purple 7
3053 satin-tower-glitter-yellow 7
3634 satin-tower-glitter-red 7
3851 shadowverse-evolve-official-sleeve-vol.-72-alice-the-wonder-seeker-75-sleeves 7
3852 shadowverse-evolve-official-sleeve-vol.-67-gawain-knight-of-the-round-table-75-sleeves 7
4244 solforge-fusion-premium-play-mat 7
5123 sirius-dice-dice-set-sharp-dagger 7
5125 sirius-dice-dice-set-star-spangled-banner 7
5209 shadowverse-evolve-official-card-binder-the-idolmster-cinderella-girls 57
5234 shadowverse-evolve-official-sleeves-part.2-75-sleeves 57
5235 shadowverse-evolve-official-sleeves-part.2-75-sleeves-clone 57
5550 sirius-dice-d6-dice-set-16mm-spades 7
5551 sirius-dice-d6-dice-set-16mm-hearts 7
5552 sirius-dice-d6-dice-set-16mm-tahitian-sunset 7
5553 sirius-dice-d6-dice-set-16mm-northern-lights 7
5554 sirius-dice-d6-dice-set-12mm-diamonds 7
5844 squaroes-squaroe-dc-justice-league-jl002-batman 7
5849 sideloading-card-dividers-multicolor 7
5895 squaroes-collectors-case-south-park-school-bus 7
6034 squaroes-squaroe-magic-the-gathering-foundations-mtg001-liliana 7
6035 squaroes-squaroe-magic-the-gathering-foundations-mtg003-tinybones 7
6059 squaroes-collectors-case-dc-justice-league-vintage-comics 7
7892 sorcery-tcg-gothic-two-player-playmat 7