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 (
    396008, 395983, 309587, 395989, 414436, 
    414408, 414393, 431514, 396058, 414329, 
    396078, 396044, 431590, 414422, 431659, 
    359772, 309590, 359805, 309585, 431542
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00088

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 (396008,395983,309587,395989,414436,414408,414393,431514,396058,414329,396078,396044,431590,414422,431659,359772,309590,359805,309585,431542)) 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
309585 abito-mini-aderente-con-scollo-incrociato 2653/9965/9986
309587 tallieur-con-gonna-pantalone-e-giacca-crop 2653/9965/9977
309590 tallieur-con-pantalone-a-gamba-larga-e-giacca-crop-a-manica-lunga 2653/9965/9994
359772 maglione-con-fiori 2653/9965/9971
359805 mini-dress-with-rhinestone-details-on-the-shoulders 2653/9965/9986
395983 elsa-dress 2653/9965/9986
395989 isabella-dress 2653/9965/9986
396008 isabella 2653/9965/9986
396044 crop-top-set 2653/9965
396058 crop-top 2653/9965/9971
396078 zara-style-set 2653/9965
414329 stylish-sunflower-set 2653/9965
414393 positive-set 2653/9965
414408 gold-ribbon-dress 2653/9965/9986
414422 crop 2653/9965/9966
414436 ballet-dress 2653/9965/9986
431514 kostum 2653/2658/2722
431542 fustan-i-bardhe 2653/2658/2722
431590 fustan 2653/2658/2722
431659 fustan-i-fryre 2653/2658/2722