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 (
    265235, 265034, 265258, 265031, 265244, 
    265261, 265263, 265256, 265242, 265254, 
    265232, 265250, 265237, 265262, 265255, 
    265241, 265230, 265236, 265251, 265240
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00096

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.03"
    },
    "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": 20,
      "rows_produced_per_join": 20,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "24.03",
        "eval_cost": "4.00",
        "prefix_cost": "28.03",
        "data_read_per_join": "33K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ],
      "attached_condition": "((`webmarco`.`cscart_seo_names`.`object_id` in (265235,265034,265258,265031,265244,265261,265263,265256,265242,265254,265232,265250,265237,265262,265255,265241,265230,265236,265251,265240)) and (`webmarco`.`cscart_seo_names`.`type` = 'p') and (`webmarco`.`cscart_seo_names`.`dispatch` = '') and (`webmarco`.`cscart_seo_names`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id seo_name seo_path
265031 shqiperi-gjermani-sq 266/2577/2604
265034 shqiperi-itali-sq 266/2577/2604
265230 munchen 266/2577/2604
265232 mannheim 266/2577/2604
265235 stuttgart 266/2577/2604
265236 kassel 266/2577/2604
265237 gottingen 266/2577/2604
265240 essen 266/2577/2604
265241 dortmund 266/2577/2604
265242 hannover 266/2577/2604
265244 hamburg 266/2577/2604
265250 taranto 266/2577/2604
265251 policoro 266/2577/2604
265254 cosenza 266/2577/2604
265255 lemezia 266/2577/2604
265256 villa-san-giovanni 266/2577/2604
265258 acireale 266/2577/2604
265261 ragusa 266/2577/2604
265262 santa-croce 266/2577/2604
265263 marina 266/2577/2604