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 (
    5032, 5035, 5028, 5030, 5029, 5040, 5036, 
    5461, 10221, 5034, 5042, 5458, 5328, 
    5043, 5047, 5044, 6085, 5502, 5050, 
    5365, 5033, 6016, 5049, 6017, 5456, 
    5596, 5367, 5500, 5333, 5594, 5054, 
    6084, 6191, 5363, 5335, 5504, 5506, 
    6018, 5464, 6185
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00135

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "32.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": 50,
      "rows_produced_per_join": 50,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (5032,5035,5028,5030,5029,5040,5036,5461,10221,5034,5042,5458,5328,5043,5047,5044,6085,5502,5050,5365,5033,6016,5049,6017,5456,5596,5367,5500,5333,5594,5054,6084,6191,5363,5335,5504,5506,6018,5464,6185)) 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": "27.51",
        "eval_cost": "5.00",
        "prefix_cost": "32.51",
        "data_read_per_join": "84K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
5028 holowits-4mp-ir-white-light-bullet-camera 521/522/535
5029 holowits-4mp-ir-white-light-bullet-camera-clone 521/522/535
5030 holowits-1t-8mp-ir-white-light-ai-bullet-camera-clone 521/522/535
5032 holowits-2t-4mp-multi-algorithm-bullet-camera-clone 521/522/535
5033 holowits-1t-4mp-dual-lens-ai-bullet-camera-clone 521/522/535
5034 holowits-1t-5mp-double-light-full-color-alert-ai-bullet-camera-clone 521/522/536
5035 holowits-1t-5mp-double-light-full-color-alert-ai-fixed-dome-camera-clone 521/522/537
5036 holowits-ai-camera-1t-5mp-ir-white-light-ai-ptz-dome-camera-with-intercom-clone 521/522/535
5040 holowits-ai-camera-1t-5mp-ai-ir-bullet-camera-clone 521/522/537
5042 holowits-ip-camera-25x-4mp-150m-ir-network-ptz-camera-clone 521/522/537
5043 holowits-ip-camera-15x-2mp-150m-ir-network-ptz-clone 521/522/536
5044 holowits-ip-camera-5mp-ir-fixed-dome-camera-2-8mm-clone 521/522/536
5047 holowits-ip-camera-5mp-ir-fixed-dome-camera-3-6mm-clone 521/522/535
5049 holowits-ip-camera-5mp-ir-bullet-camera-clone 521/522/536
5050 holowits-ip-camera-3mp-ir-fixed-dome-camera-clone 521/522/536
5054 holowits-ip-camera-5mp-ir-bullet-camera-3-6mm-clone 521/522/535
5328 hikvision-ds-2ce16d0t-itpf-2-mp-fixed-mini-bullet-camera 521/522/535
5333 hikvision-ds-2ce76d0t-itpf-2-mp-indoor-fixed-turret-camera 521/522/536
5335 hikvision-ds-2ce16d0t-exipf-2-mp-fixed-mini-bullet-camera 521/522/535
5363 hikvision-ds-2ce76d0t-exipf-2-mp-indoor-fixed-turret-camera 521/522/536
5365 hikvision-ds-2ce17d0t-it3f-2-mp-fixed-bullet-camera 521/522/535
5367 hikvision-ds-2ce16d0t-lpfs-2-mp-smart-hybrid-light-audio-fixed-mini-bullet-camera 521/522/535
5456 hikvision-ds-2ce10df0t-f-2-mp-colorvu-fixed-mini-bullet-camera 521/522/535
5458 hikvision-ds-2ce18d0t-lfs-2-mp-smart-hybrid-light-audio-fixed-bullet-camera 521/522/535
5461 hikvision-ds-2ce17d0t-lfs-2-mp-smart-hybrid-dual-light-audio-fixed-bullet-camera 521/522/535
5464 hikvision-ds-2ce12uf3t-e-4k-colorvu-poc-fixed-mini-bullet-camera 521/522/535
5500 hikvision-ds-2ce16k0t-lpxts-3k-two-way-audio-and-siren-fixed-mini-bullet-camera 521/522/535
5502 hikvision-ds-2ce70k0t-ptlxts-3k-two-way-audio-and-siren-fixed-pt-turret-camera 521/522/536
5504 hikvision-ds-2ce19k0t-lxts-3k-two-way-audio-and-siren-fixed-bullet-camera 521/522/535
5506 hikvision-ds-2ce10uf3t-e-4k-colorvu-poc-fixed-mini-bullet-camera 521/522/535
5594 hikvision-ds-2cd1367g2h-liu-6-mp-colorvu-smart-hybrid-light-fixed-turret-network-camera 521/522/536
5596 hikvision-ds-2cd1t67g2-l-6-mp-colorvu-md-2-0-fixed-bullet-network-camera 521/522/535
6016 ezviz-smart-video-calling-camera 521/522/537
6017 ezviz-wi-fi-smart-home-battery-camera 521/522/536
6018 ezviz-wi-fi-smart-home-battery-camera-en 521/522/536
6084 ezviz-battery-powered-pan-and-tilt-wi-fi-camera-2k 521/522/537
6085 ezviz-battery-powered-pan-and-tilt-wi-fi-camera-2k-en 521/522/537
6185 hikvision-ds-2cd1127g2h-liu-2-mp-colorvu-smart-hybrid-light-fixed-dome-network-camera 521/522/536
6191 ezviz-smart-home-wi-fi-camera-h1c 521/522/536
10221 xiaomi-mi-smart-camera-c201 521/522