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 (
    2282, 2285, 2904, 2900, 2909, 2887, 2890, 
    2888, 2886, 8380, 10237, 7741, 10140, 
    10197, 10020, 10299, 8379, 10167, 10344, 
    10032, 10177, 10178, 10345, 8439, 10249, 
    10222, 10035, 10147, 10172, 10048, 
    10193, 10276, 10039, 10095, 10228, 
    10192, 10058, 8345, 10239, 10148, 10156, 
    10023, 10103, 10026, 10074, 10088, 
    10174, 10233, 10226, 10219, 10244, 
    10105, 10157, 10160, 10059, 9972, 10247, 
    10274, 10294, 10022, 10104, 10261, 
    9952, 10159, 10161, 10225, 10254, 10255, 
    10273, 9937, 9968, 10071, 10272, 9969, 
    10047, 10050, 10056, 10072, 10093, 
    10232
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'ar'

Query time 0.00360

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "58.71"
    },
    "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": 86,
      "rows_produced_per_join": 86,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (2282,2285,2904,2900,2909,2887,2890,2888,2886,8380,10237,7741,10140,10197,10020,10299,8379,10167,10344,10032,10177,10178,10345,8439,10249,10222,10035,10147,10172,10048,10193,10276,10039,10095,10228,10192,10058,8345,10239,10148,10156,10023,10103,10026,10074,10088,10174,10233,10226,10219,10244,10105,10157,10160,10059,9972,10247,10274,10294,10022,10104,10261,9952,10159,10161,10225,10254,10255,10273,9937,9968,10071,10272,9969,10047,10050,10056,10072,10093,10232)) 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` = 'ar'))",
      "cost_info": {
        "read_cost": "50.11",
        "eval_cost": "8.60",
        "prefix_cost": "58.71",
        "data_read_per_join": "145K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
2282 xiaomi-mi-router-4c-white-ar 250/402/404
2285 xiaomi-mi-router-4a-gigabit-edition-ar 250/402/404
2886 xiaomi-robot-vacuum-s20-eu-ar 372/384/459
2887 xiaomi-robot-vacuum-s20-eu-ar-2 372/384/459
2888 xiaomi-robot-vacuum-e5-eu-ar 372/384/459
2890 xiaomi-robot-vacuum-x10-eu-ar-ar 372/384/459
2900 xiaomi-vacuum-cleaner-g10-plus-eu-ar 372/384/460
2904 xiaomi-mi-smart-standing-fan-2-ar 372/566/465
2909 xiaomi-mi-smart-air-fryer-3-5-ar 372/466/467
7741 xiaomi-watch-2-pro-ar 166/322/340
8345 xiaomi-vacuum-pro-5-smart-cordless-vacuum-cleaner-ar 372/384/459
8379 xiaomi-mi-smart-space-heater-s-eu-version-ar 372/566/597
8380 xiaomi-smart-air-purifier-4-compact-eu-version-ar 372/461/462
8439 xiaomi-focus-pen-ar 166/423/477
9937 شاومي-حقيبة-ظهر-كاجوال-بغطاء-رول-توب-gl-رمادي-صخري-ar 658/659
9952 شاومي-حقيبة-تخزين-للسكوتر-الكهربائي-أسود-ar 658/660
9968 شاومي-حقيبة-ظهر-للتنقّل-اليومي-رمادي-فاتح-ar 658/659
9969 شاومي-حقيبة-سفر-كلاسيك-مقاس-٢٠-بوصة-بسعة-٣٨-لتر-أسود-ar 658/660
9972 شاومي-حقيبة-سفر-قابلة-للتوسيع-مقاس-٢٠-بوصة-أزرق-ar 658/660
10020 شاومي-حقيبة-سفر-بإطار-من-الألمنيوم-مقاس-٢٠-بوصة-ar 658/660
10022 شاومي-سماعات-أذن-بمنفذ-type-c-أسود-ar 166/329/457
10023 xiaomi-electric-toothbrush-t302-replacement-heads-ar 577/662
10026 xiaomi-wireless-mouse-comfort-edition-ar 166/350/382
10032 شاومي-فلتر-جهاز-تنقية-الهواء-الذكي-4-كومباكت-برو-ar 372/461/462
10035 شاومي-مكنسة-كهربائية-برو-لإزالة-عثّ-الغبار-نسخة-eu-ar 372/384/598
10039 شاومي-دفاية-مكتبية-نسخة-الاتحاد-الأوروبي-ar 372/566/597
10047 xiaomi-power-bank-10000mah-22-5wlitegl-ar 166/378
10048 شاومي-باور-بانك-٣٣-واط-٢٠٠٠٠-مللي-أمبير-مع-كابل-مدمج-أزرق-gl-ar 166/378/443
10050 xiaomi-robot-vacuum-e5-mop-pad-ar 372/384/459
10056 xiaomi-portable-blender-eu-ar 372/466
10058 xiaomi-watch-white-leather-strap-ar 166/423/585
10059 xiaomi-watch-2-silver-case-gray-ar 166/322/340
10071 xiaomi-fan-heater-eu-ar 372/566/597
10072 xiaomi-handheld-garment-steamer-eu-ar 372/587
10074 xiaomi-outdoor-camera-bw300-ar 521/522
10088 xiaomi-outdoor-camera-aw300-eu-ar 521/522
10093 xiaomi-electric-scooter-storage-bag-4l-ar 658/660
10095 xiaomi-smart-projector-l1-pro-eu-ar 166/174/486
10103 mi-smart-band-4-charging-cable-ar 166/423/424
10104 xiaomi-mi-metal-carry-on-luggage-20-silver-ar 658/660
10105 xiaomi-mi-portable-photo-printer-ar 250/371
10140 xiaomi-15t-pro-ar-ar 166/234/236
10147 شاومي-بنك-طاقة-10000-مللي-أمبير-بكابل-مدمج-ar 166/378/443
10148 شاومي-ضاغط-هواء-كهربائي-محمول-٢-برو-ar 372
10156 xiaomi-electric-shaver-s200-silver-eu-ar 577/639/647
10157 xiaomi-outdoor-camera-aw200-ar 521/522
10159 xiaomi-mi-wifi-range-extender-ac-1200-ra75-black-eu-ar 250/402/439
10160 xiaomi-smart-band-7-charging-cable-ar 166/423/424
10161 xiaomi-smart-tower-heater-lite-eu-ar 372/566/597
10167 xiaomi-reusable-bag-orange-ar 658
10172 شاومي-بنك-طاقة-١٨-واط-٣٠٠٠٠-مللي-أمبير-إصدار-عالمي-gl-ar 166/378/443
10174 شاومي-حقيبة-ظهر-للأعمال-gl-ar 658/659
10177 شاومي-واي-فاي-رينج-إكستاندر-إن٣٠٠-ar 250/402/439
10178 شاومي-مونيتور-أ٢٤-إي-إي-يو-ar 166/170/357
10192 شاومي-ميش-سيستم-إيه-إكس٣٠٠٠-إن-إي-١-قطعة-إي-يو-ar 166/328/341
10193 شاومي-ستيك-تي-في-الذكي-٤-كيه-إي-يو-ar 372/453/454
10197 xiaomi-smart-evaporative-humidifier-filter-ar 372/461/463
10219 xiaomi-mi-robot-vacuum-mop-p-disposable-mop-pad-ar 372/384/459
10222 poco-f8-pro-smartphone-12gb-ram-512gb-storage-ar 166/234/236
10225 xiaomi-mi-robot-vacuum-mop-p-filter-skv4120ty-ar 372/384/459
10226 xiaomi-mi-robot-vacuum-mop-p-brush-cover-black-skv4121ty-ar 372/384/459
10228 xiaomi-15t-smartphone-12gb-ram-512gb-storage-ar 166/234/236
10232 xiaomi-mi-robot-vacuum-mop-p-water-tank-skv4124ty-ar 372/384/459
10233 xiaomi-poco-f8-ultra-smartphone-16gb-ram-512gb-storage-redmi-watch-5-lite-gift-ar 166/234/236
10237 xiaomi-mi-action-camera-with-handheld-gimbal-ar 166/423
10239 xiaomi-mi-selfie-stick-tripod-black-ar 166/423
10244 xiaomi-6s-pad-pro-12gb-ram-512gb-storage-ar 166/320/339
10247 xiaomi-mi-wireless-outdoor-security-camera-1080p-set-ar 521/522
10249 xiaomi-smart-band-pendant-silver-ar 166/423
10254 xiaomi-mi-handheld-vacuum-cleaner-1c-hepa-2-units-ar 372/384/459
10255 xiaomi-mi-vacuum-cleaner-light-hepa-filter-2-pack-ar 372/384/459
10261 xiaomi-mi-computer-monitor-light-bar-bhr4838gl-ar 166/170
10272 xiaomi-mi-robot-vacuum-mop-1c-2pro-2-mop-pad-ar 372/384/459
10273 xiaomi-router-ax3200-eu-ar 250/402/404
10274 xiaomi-watch-s1-active-gl-moon-white-ar 166/322/340
10276 xiaomi-redmi-mi-watch-2-lite-ar 166/322/340
10294 xiaomi-robot-vacuum-s20-brush-cover-ar 372/384/459
10299 xiaomi-dual-mode-wireless-mouse-2-black-ar 166/350/382
10344 شاومي-ميش-سيستم-إيه-سي١٢٠٠-إي-يو-٣-قطع-ar 372
10345 شاومي-ميش-سيستم-إيه-إكس٣٠٠٠-إن-إي-إي-يو-٣-قطع-ar 372