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 (
    2827, 2860, 1628, 3291, 2362, 4285, 3145, 
    2841, 5155, 3116, 3876, 2368, 3102, 
    2775, 1672, 2561, 3812, 4268, 4916, 
    2868, 3280, 3127, 2767, 2799
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00130

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.26"
    },
    "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": 25,
      "rows_produced_per_join": 25,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (2827,2860,1628,3291,2362,4285,3145,2841,5155,3116,3876,2368,3102,2775,1672,2561,3812,4268,4916,2868,3280,3127,2767,2799)) 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": "14.76",
        "eval_cost": "2.50",
        "prefix_cost": "17.26",
        "data_read_per_join": "42K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
1628 logitech-h340-usb-computer-headset 166/329/399/523
1672 logitech-headset-one-plug-h151 166/329/399/523
2362 xiaomi-mi-pocket-speaker-2-white 166/329/347
2368 xiaomi-mi-portable-bluetooth-speaker-grey 166/329/347
2561 anker-soundcore-life-u2-bluetooth-neckband-headphones 166/329/457
2767 jbl-live-flex-true-wireless-nc-earbuds-wireless-charging-full-touch 166/329/344
2775 anker-soundcore-r100 166/329/344
2799 jbl-smart-home-speaker-hifi-grade-componen 166/329/347
2827 jbl-bar-800-5-1-2-channel-soundbar-with-detachable-speakers 166/329/527
2841 anker-soundcore-space-q45 166/329/457
2860 anker-soundcore-liberty-4 166/329/344
2868 jbl-quantum-300-headset-black 166/329/399
3102 anker-soundcore-liberty-air-2-pro-true-wireless-earbuds 166/329/344
3116 anker-soundcore-boom-2-se-speaker-black 166/329/347
3127 anker-soundcore-pyro-mini-portable-speaker-6w 166/329/347
3145 anker-soundcore-glow-portable-speaker-with-30w-360-sound 166/329/347
3280 sony-playstation-pulse-elite-gaming-headset 166/329/399/524
3291 belkin-in-ear-pink 166/329/457
3812 belkin-headphones-with-usb-c-connector-white 166/329/457
3876 belkin-headphones-with-lighting-connector 166/329/457
4268 logitech-g435-ultra-light-wireless-bluetooth-gaming-headset 166/329/399/524
4285 logitech-zone-vibe-100 250/400
4916 marshall-willen 166/329/347
5155 jbl-live-670nc-clone 166/329/457