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 (
    2047, 2049, 2048, 1995, 1943, 2120, 2094, 
    2385, 1989, 2314, 1951, 2096, 1988, 
    2098, 2097, 2099, 2199, 2200, 1948, 
    2095, 2100, 2124, 2101, 2134, 2198
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'pl'

Query time 0.00070

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.51"
    },
    "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": 25,
      "rows_produced_per_join": 25,
      "filtered": "100.00",
      "index_condition": "((`cscartdevel`.`cscart_seo_names`.`object_id` in (2047,2049,2048,1995,1943,2120,2094,2385,1989,2314,1951,2096,1988,2098,2097,2099,2199,2200,1948,2095,2100,2124,2101,2134,2198)) and (`cscartdevel`.`cscart_seo_names`.`type` = 'p') and (`cscartdevel`.`cscart_seo_names`.`dispatch` = '') and (`cscartdevel`.`cscart_seo_names`.`lang_code` = 'pl'))",
      "cost_info": {
        "read_cost": "15.01",
        "eval_cost": "2.50",
        "prefix_cost": "17.51",
        "data_read_per_join": "42K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
1943 herbatka-dla-dzieci-rumianek-bio-20-x-1-g-20-g-apotheke 295/389
1948 herbatka-mieta-z-lukrecja-licorice-mint-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
1951 herbatka-finest-selection-mix-herbatek-bio-6-x-3-torebki-34-2-g-yogi-tea 295/389
1988 herbatka-imbir-pomarancza-bio-20-x-1-5-g-30-g-apotheke 295/389
1989 herbatka-dla-matek-karmiacych-bio-20-x-1-5-g-30-g-apotheke 295/389
1995 herbatka-dla-dzieci-rooibos-bio-20-x-1-5-g-30-g-apotheke 295/389
2047 herbatka-dla-dzieci-lipa-rumianek-i-mieta-bio-20-x-1-5-g-30-g-apotheke 295/389
2048 herbatka-dla-dzieci-owocowa-bio-20-x-2-g-40-g-apotheke 295/389
2049 herbatka-dla-dzieci-melisa-mieta-i-rumianek-bio-20-x-1-5-g-30-g-apotheke 295/389
2094 herbatka-dla-kobiet-energia-womens-energy-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2095 herbatka-na-dobre-samopoczucie-wellbeing-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2096 herbatka-himalaya-bio-17-x-2-g-34-g-yogi-tea 295/389
2097 herbatka-imbirowo-pomaranczowa-z-wanilia-ginger-orange-with-vanilla-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2098 herbatka-imbirowo-cytrynowa-ginger-lemon-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2099 herbatka-klasyczna-classic-bio-17-x-2-2-g-37-4-g-yogi-tea 295/389
2100 herbatka-na-gardlo-throat-comfort-bio-17-x-1-9-g-32-3-g-yogi-tea 295/389
2101 herbatka-na-sen-bedtime-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2120 herbatka-dla-kobiet-womens-tea-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2124 herbatka-na-odpornosc-immune-support-bio-17-x-2-g-34-g-yogi-tea 295/389
2134 herbatka-na-trawienie-stomach-ease-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2198 herbatka-orzezwiajaca-czerwona-pomarancza-tangy-blood-orange-bio-17-x-2-g-34-g-yogi-tea 295/389
2199 herbatka-lekki-brzuch-happy-belly-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2200 herbatka-mango-chai-bio-17-x-2-g-34-g-yogi-tea 295/389
2314 herbatka-dla-mezczyzn-mens-tea-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389
2385 herbatka-dla-kobiet-rownowaga-womens-balance-bio-17-x-1-8-g-30-6-g-yogi-tea 295/389