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 (
    5022, 5006, 3927, 4781, 3335, 4961, 5009, 
    3336, 5208, 3954, 3509, 3934, 3961, 
    4006, 5467, 5554, 3958, 5013, 3933, 
    5370, 8789, 3484, 5566, 4824, 4989, 
    5377, 3477, 4821, 5369, 4660, 5188, 
    5567, 4238, 3468, 4005, 4010, 5477, 
    4292, 5866, 5374
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00200

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "31.61"
    },
    "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": 48,
      "rows_produced_per_join": 48,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (5022,5006,3927,4781,3335,4961,5009,3336,5208,3954,3509,3934,3961,4006,5467,5554,3958,5013,3933,5370,8789,3484,5566,4824,4989,5377,3477,4821,5369,4660,5188,5567,4238,3468,4005,4010,5477,4292,5866,5374)) 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": "26.81",
        "eval_cost": "4.80",
        "prefix_cost": "31.61",
        "data_read_per_join": "81K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
3335 fujikura-90s-splicer-machine 250/402/482
3336 sumitomo-electric-type-72c-high-precision-fusion-splicer 250/402/482
3468 epson-ecotank-l4260 250/371/393
3477 epson-ecotank-l6270 250/371/393
3484 epson-ecotank-l18050 250/371/393
3509 epson-lq-690 250/371/489
3927 tp-link-tl-sg105-v8-desktop-switch-5-port 166/328/342/363
3933 tp-link-archer-ax12-ax1500-wi-fi-6-router 250/402/404
3934 tp-link-archer-c80-new-ac1900-wireless-mu-mimo-wi-fi-router 250/402/404
3954 tp-link-archer-ax23-ax1800-dual-band-wi-fi-6-router-v1-2 250/402/404
3958 deco-e4-ac1200-whole-home-mesh-wi-fi-system-1-pack 250/402/404
3961 deco-e4-ac1200-whole-home-mesh-wi-fi-system-3-pack 250/402/404
4005 tp-link-deco-x20-ax1800-whole-home-mesh-wi-fi-6-system-3-pack 250/402/404
4006 tp-link-deco-x55-ax3000-whole-home-mesh-wi-fi-6-system-3-pack 250/402/404
4010 xerox-wc3025bi-wifi-monochrome-3-in-1-laser-printer-black-and-white 250/371/394
4238 logitech-g740-large-thick-cloth-gaming-mouse-pad 166/350/382
4292 logitech-g-pro-x-wired-gaming-headset 250/400
4660 msi-clutch-gm41-lightweight-wireless-gaming-mouse 166/350/382
4781 ubiq-nanobeam-nbe-5ac-gen2 250/402/565
4821 ubiq-power-beam-pbe-5ac-gen2 166/328/564
4824 ubiq-powerbeam-pbe-5ac-500 166/328/564
4961 nespresso-citiz-platinum-and-milk 250/553/554
4989 nespresso-citiz-and-milk 372/552/556
5006 nespresso-ispirazione-ristretto-italiano 250/553/555/563
5009 nespresso-ispirazione-palermo-kazaar-clone 250/553/555/563
5013 nespresso-peru-organic-clone 250/553/555/563
5022 nespresso-shanghai-lungo-clone-en 250/553/555/563
5188 trucillo-special-bar-coffee-beans 372/552/557/560
5208 trucillo-il-mio-espresso-100-arabica-coffee-capsules 372/552/557/561
5369 delonghi-espresso-machine 372/552/556
5370 delonghi-ecam13123-espresso-machine 250/553/554
5374 krups-ea82fe10-quattro 372/552/556
5377 krups-evidence-eco-design-ea897b40 372/552/556
5467 breville-barista-max-espresso-coffee-machine 250/553/554
5477 ipilot-sprint-s5 372/552/556
5554 darkoff-classico 372/552/557/560
5566 saeco-iperautomatica-premium 372/552/556
5567 ipilot-golden-paris-e2s 372/552/556
5866 magic-keyboard-folio-for-ipad-10th-generation-arabic 166/350/383
8789 hama-home-x10cd-paper-shredder-crosscut-p4 250/336