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 (
    2562, 2768, 2767, 2775, 2786, 2787, 3548, 
    3549, 5129, 5126, 5135, 5133, 5151, 
    5153, 7871, 7872, 7873, 7875, 7876, 
    8703, 8704, 8705, 8706
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00150

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.01"
    },
    "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 (2562,2768,2767,2775,2786,2787,3548,3549,5129,5126,5135,5133,5151,5153,7871,7872,7873,7875,7876,8703,8704,8705,8706)) 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.51",
        "eval_cost": "2.50",
        "prefix_cost": "17.01",
        "data_read_per_join": "42K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
2562 anker-soundcore-c40i-open-ear-earbuds 166/329/344
2767 jbl-live-flex-true-wireless-nc-earbuds-wireless-charging-full-touch 166/329/344
2768 jbl-live-flex-true-wireless-nc-earbuds-wireless-charging-full-touch-en 166
2775 anker-soundcore-r100 166/329/344
2786 jbl-live-pro-2-true-wireless-nc-earbuds-wireless-charging-full-touch-tws 166/329/344
2787 jbl-live-pro-2-true-wireless-nc-earbuds-wireless-charging-full-touch-tws-en 166
3548 belkin-012-soundform-rhythm-true-wireless-earbuds 166/329/344
3549 belkin-012-soundform-rhythm-true-wireless-earbuds-en 166
5126 samsung-galaxy-buds3-pro-clone 166/329/344
5129 philips-tws-headphones-with-anc-pro 166
5133 philips-headphones-tat1139bk-black-clone 166/329/344
5135 philips-tws-headphones 166
5151 philips-tws-headphones-clone-en 166/329/344
5153 philips-headphones 166
7871 1hora-tws-bt-earphone-a8s-with-screen-black 166/329/344
7872 1hora-tws-bt-earphone-a8s-with-screen-black-en 166/329/344
7873 1hora-true-wireless-circular-earphones 166/329/344
7875 1hora-true-wireless-circular-earphones-en 166/329/344
7876 1hora-true-wireless-circular-earphones-en-2 166/329/344
8703 hama-freedom-light-ii-bluetooth-tws-earbuds-with-voice-control 166/329/344
8704 hama-freedom-light-ii-bluetooth-tws-earbuds-with-voice-control-en 166/329/344
8705 hama-freedom-light-ii-bluetooth-tws-earbuds-with-voice-control-en-2 166/329/344
8706 hama-freedom-light-ii-bluetooth-tws-earbuds-with-voice-control-en-3 166/329/344