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 (
    254299, 252159, 254297, 253161, 253157, 
    254305, 252161, 262442, 252162, 149755, 
    149820, 149750, 151903, 265039, 265041, 
    265037, 265040, 265036, 265042
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00182

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "26.63"
    },
    "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": 19,
      "rows_produced_per_join": 19,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "22.83",
        "eval_cost": "3.80",
        "prefix_cost": "26.63",
        "data_read_per_join": "32K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ],
      "attached_condition": "((`webmarco`.`cscart_seo_names`.`object_id` in (254299,252159,254297,253161,253157,254305,252161,262442,252162,149755,149820,149750,151903,265039,265041,265037,265040,265036,265042)) 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
149750 centro-estetico-a-manerba-del-garda 266/1907
149755 trucco-sposa 266/1907
149820 epilazione-indolore-con-laser 266/1907
151903 profumeria-a-manerba-del-garda 266/1907
252159 hairstylist 266/1907/2180
252161 makeup 266/1907/9849
252162 extensions 266/1907/2180
253157 hair-treatments 266/1907/1913
253161 aesthetic 266/1907/1911
254297 face-treatments-en 266/1907/1910
254299 eyelash-and-eyebrow-en 266/1907/1910
254305 manicure-and-pedicure 266/1907/1909
262442 estetik 266/1907/1909
265036 institute-of-belleza-san-francesco-it 266/1907
265037 institute-of-belleza-san-francesco-it-2 266/1907
265039 institute-of-belleza-san-francesco-it-4 266/1907
265040 institute-of-belleza-san-francesco-it-5 266/1907
265041 institute-of-belleza-san-francesco-it-6 266/1907
265042 institute-of-belleza-san-francesco-it-7 266/1907