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 (
    5272, 4991, 5932, 2354, 4226, 3346, 4431, 
    5276, 4275, 4195, 3493, 3342, 1566, 
    4460, 5613, 5925, 5285, 5346, 5196, 
    1631, 3597, 5670, 3938, 3345
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00153

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.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": 30,
      "rows_produced_per_join": 30,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (5272,4991,5932,2354,4226,3346,4431,5276,4275,4195,3493,3342,1566,4460,5613,5925,5285,5346,5196,1631,3597,5670,3938,3345)) 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": "16.51",
        "eval_cost": "3.00",
        "prefix_cost": "19.51",
        "data_read_per_join": "50K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
1566 huawei-ekitengine-s380-s8p2t 166/328/341
1631 logitech-tap-ip 250
2354 xiaomi-mi-smart-plug-zigbee 166/351/446
3342 bluestorm-sftp-cat6-305m-outdoor-network-cables 166/328/543/343
3345 bluestorm-sftp-cat5e-305m-outdoor-network-cable 166/328/543/343
3346 bluestorm-u-ftp-cat6a-305m-indoor-network-cable 166/328/543/343
3493 dl-stapler 250/458/488
3597 belkin-surge-18w-usb-a-c 166/351/446
3938 tp-link-archer-ax10-ax1500-wi-fi-6-router 250/402/404
4195 logitech-g102-wired-gaming-mouse 166/350/382
4226 logitech-g203-wired-gaming-mouse 166/350/382
4275 logitech-mx-anywhere-3s-wireless 166/350/382
4431 logitech-mx-keys-s-wireless-keyboard-graphite 166/350/383
4460 logitech-craft-advanced-keyboard-with-creative-input-dial 166/350/383
4991 nespresso-citiz 372/552/556
5196 ubiq-unifi-cloud-uck-g2-ssd 166/328/366
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
5285 nescafé-dolce-gusto-starbucks-caramel-macchiato-coffee-capsules 372/552/557/561
5346 delonghi-magnifica-s 372/552/556
5613 magic-keyboard-for-ipad-air-11-inch-m3-arabic 166/350/383
5670 mikrotik-adapter-18pow 166/328/543/567
5925 mikrotik-rb-1100-ahx4 166/328/341
5932 magic-keyboard-arabic 166/350/383