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 (
    2603, 3136, 2587, 2761, 2694, 3096, 2723, 
    2742, 3556, 2593, 3104, 2618, 2828, 
    2613, 2619, 2872, 2704, 3593, 4888, 
    3423, 5168, 2739, 3291, 2841, 5155, 
    3876, 2561, 3812, 5124, 2865, 2734, 
    3369, 3139, 5157, 2700, 5121, 5929, 
    2701, 2797, 6271, 5938, 4886, 4885, 
    8243, 5933, 8603, 10022, 8272, 7878, 
    8879, 7880, 8458
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00187

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "37.31"
    },
    "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": 54,
      "rows_produced_per_join": 54,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (2603,3136,2587,2761,2694,3096,2723,2742,3556,2593,3104,2618,2828,2613,2619,2872,2704,3593,4888,3423,5168,2739,3291,2841,5155,3876,2561,3812,5124,2865,2734,3369,3139,5157,2700,5121,5929,2701,2797,6271,5938,4886,4885,8243,5933,8603,10022,8272,7878,8879,7880,8458)) 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": "31.91",
        "eval_cost": "5.40",
        "prefix_cost": "37.31",
        "data_read_per_join": "91K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
2561 anker-soundcore-life-u2-bluetooth-neckband-headphones 166/329/457
2587 jbl-tune-110-earphones 166/329/457
2593 jbl-t310c-wired-earphone-type-c 166/329/457
2603 jbl-t305c-wired-earphone-type-c 166/329/457
2613 jbl-jr310 166/329/457
2618 jbl-tune-125bt-bluetooth 166/329/457
2619 anker-soundcore-space-one-pro-foldable-over-ear-headphones 166/329/457
2694 jbl-tune-520bt-headphone 166/329/457
2700 jbl-endurance-run-bt-wireless-in-ear-sport-headphones-black 166/329/457
2701 jbl-in-ear-ipx5-bluetooth-headphone-with-play-pause-and-volume-control 166/329/457
2704 jbl-jr310bt 166/329/457
2723 jbl-tune-720bt-headphone 166/329/457
2734 anker-soundcore-life-note-u2i 166/329/457
2739 jbl-jr470-noise-cancelling-kids-headphones 166/329/457
2742 jbl-tune-770nc-headphone 166/329/457
2761 jbl-live-670nc 166/329/457
2797 jbl-tour-one-m2-headphone-black 166/329/457
2828 anker-soundcore-life-q30 166/329/457
2841 anker-soundcore-space-q45 166/329/457
2865 jbl-live-660nc-headphone 166/329/457
2872 jbl-tune-710bt-headphone 166/329/457
3096 anker-soundcore-h30i 166/329/457
3104 anker-soundcore-space-one-headphone 166/329/457
3136 anker-soundcore-q20i-headphone 166/329/457
3139 anker-soundcore-q10i 166/329/457
3291 belkin-in-ear-pink 166/329/457
3369 belkin-soundform-surround-headphones-blue 166/329/457
3423 jbl-tune-215bt-en 166/329/457
3556 belkin-soundform-surround-wireless-headphones 166/329/457
3593 belkin-soundform-isolate-noise-cancelling-headphones 166/329/457
3812 belkin-headphones-with-usb-c-connector-white 166/329/457
3876 belkin-headphones-with-lighting-connector 166/329/457
4885 marshall-monitor-ii-a-n-c 166/329/457
4886 marshall-monitor-iii-anc-headphones 166/329/457
4888 marshall-major-v 166/329/457
5121 jbl-t305c-wired-earphone-type-c-clone 166/329/457
5124 philips-wired-headphones-type-c-clone 166/329/457
5155 jbl-live-670nc-clone 166/329/457
5157 philips-over-ear-headphones-clone 166/329/457
5168 philips-over-ear-headphones-clone-en 166/329/457
5929 apple-earpods-with-usb-c-connector 166/329/457
5933 apple-earpods-with-lightning-connector 166/329/457
5938 apple-earpods-3-5mm-headphone-plug 166/329/457
6271 dyson-headphone 166/329/457
7878 1hora-wired-earphone-type-c-black 166/329/457
7880 1hora-headphone-black-919-jh-over-ear-wireless-headphones-with-deep-bass 166/329/457
8243 hama-184068-freedom-light-bluetooth-true-wireless-earbuds-white 166/329/344
8272 hama-184020-connect-bluetooth-headphones-in-ear-micro-ear-hook-black 166/329/457
8458 hama-184038-advance-flat-ribbon-in-ear-earbuds-with-microphone-white 166/329/457
8603 hama-184105-in-ear-earphones-black-with-usb-c-port 166/329/457
8879 marshall-major-iv-on-ear-bluetooth-headphones-black 166/329/457
10022 شاومي-سماعات-أذن-بمنفذ-type-c-أسود 166/329/457