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 (
    5290, 5271, 4974, 5277, 5640, 5284, 5376, 
    5287, 5281, 5397, 4995, 5270, 5278, 
    5187, 5549, 4992, 5207, 5186, 5008, 
    5272, 4991, 5276, 5285, 5346
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00172

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "21.31"
    },
    "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": 34,
      "rows_produced_per_join": 34,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (5290,5271,4974,5277,5640,5284,5376,5287,5281,5397,4995,5270,5278,5187,5549,4992,5207,5186,5008,5272,4991,5276,5285,5346)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`type` = 'p') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`dispatch` = '') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "17.91",
        "eval_cost": "3.40",
        "prefix_cost": "21.31",
        "data_read_per_join": "57K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
4974 nespresso-pixie-machine 250/553/554
4991 nespresso-citiz 372/552/556
4992 nespresso-essenza-mini-c30 372/552/556
4995 nespresso-essenza-mini-d30 372/552/556
5008 nespresso-ispirazione-venezia-clone 250/553/555/563
5186 trucillo-100-arabica-coffee-beans 372/552/557/560
5187 trucillo-gran-caffè-coffee-beans 372/552/557/560
5207 trucillo-il-mio-espresso-napoli-coffee-capsules 372/552/557/561
5270 nescafé-dolce-gusto-grande-coffee-capsules 372/552/557/561
5271 nescafé-dolce-gusto-grande-intenso-coffee-capsules 372/552/557/561
5272 nescafé-dolce-gusto-cortado-espresso-macchiato-coffee-capsules 372/552/557/561
5276 nescafé-dolce-gusto-latte-macchiato-coffee-capsules 372/552/557/561
5277 nescafé-dolce-gusto-latte-macchiato-caramel-coffee-capsules 372/552/557/561
5278 nescafé-dolce-gusto-cappuccino-coffee-capsules 372/552/557/561
5281 nescafé-dolce-gusto-mocha-coffee-capsules 372/552/557/561
5284 nescafé-dolce-gusto-starbucks-latte-macchiato-coffee-capsules 372/552/557/561
5285 nescafé-dolce-gusto-starbucks-caramel-macchiato-coffee-capsules 372/552/557/561
5287 nescafé-dolce-gusto-starbucks-caffè-latte-coffee-capsules 372/552/557/561
5290 nescafé-dolce-gusto-starbucks-single-origin-colombia-espresso-coffee-capsules 372/552/557/561
5346 delonghi-magnifica-s 372/552/556
5376 sensation-ea910e40 372/552/556
5397 philips-series-series-3300-latte-go-ep3347 372/552/556
5549 trisa-espresso-machine-barista-plus-anthracite-clone-en 372/552/556
5640 darkoff-lemon-tea 250/553/555/562