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 (
    1128, 1127, 1126, 1125, 1124, 1123, 1139, 
    1138, 1137, 1136, 1135, 1134, 1133, 
    1132, 1131, 1130, 1129, 827, 1141, 851, 
    1254, 1253, 247, 1284, 1475, 1476, 1477, 
    2109, 2108, 2107, 2112, 2111, 2110, 
    2114, 2113, 2247, 2248, 3066, 3067, 
    3069, 3070, 3071, 3072, 3073, 3075, 
    3076, 3602, 3078, 3079, 3080, 3081, 
    3082, 3083, 3084, 3085, 4812, 4810, 
    4809, 4808, 7741, 7740, 9646, 9647, 
    9648, 9649, 9653, 9654, 9655, 9656, 
    9657, 9658, 9659, 9660, 9869, 9868, 
    9870, 9871, 10276, 10277, 10278, 10348, 
    10347
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'ar'

Query time 0.00324

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "59.21"
    },
    "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 (1128,1127,1126,1125,1124,1123,1139,1138,1137,1136,1135,1134,1133,1132,1131,1130,1129,827,1141,851,1254,1253,247,1284,1475,1476,1477,2109,2108,2107,2112,2111,2110,2114,2113,2247,2248,3066,3067,3069,3070,3071,3072,3073,3075,3076,3602,3078,3079,3080,3081,3082,3083,3084,3085,4812,4810,4809,4808,7741,7740,9646,9647,9648,9649,9653,9654,9655,9656,9657,9658,9659,9660,9869,9868,9870,9871,10276,10277,10278,10348,10347)) 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.61",
        "eval_cost": "8.60",
        "prefix_cost": "59.21",
        "data_read_per_join": "145K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
247 xiaomi-smart-band-9-pro-ar 166/322/340
827 apple-watch-series-10-ar-5 166
851 apple-watch-ultra-2-ar 166/322/323
1123 apple-watch-se-ar-2 166
1124 apple-watch-se-ar-4 166
1125 apple-watch-se-ar-5 166
1126 apple-watch-se-ar 166/322/323
1127 apple-watch-se-ar-6 166
1128 apple-watch-se-ar-3 166
1129 apple-watch-series-10-ar-6 166
1130 apple-watch-series-10-ar-2 166
1131 apple-watch-series-10-ar-4 166
1132 apple-watch-series-10-ar-10 166
1133 apple-watch-series-10-ar-3 166
1134 apple-watch-series-10-ar 166/322/323
1135 apple-watch-series-10-ar-8 166
1136 apple-watch-series-10-ar-7 166
1137 apple-watch-series-10-ar-12 166
1138 apple-watch-series-10-ar-11 166
1139 apple-watch-series-10-ar-9 166
1141 apple-watch-ultra-2-ar-2 166
1253 xiaomi-smart-band-9-pro-ar-2 166
1254 xiaomi-smart-band-9-pro-ar-3 166
1284 samsung-galaxy-watch6-classic-ar 166/322/324
1475 samsung-galaxy-watch6-classic-ar-4 166
1476 samsung-galaxy-watch6-classic-ar-2 166
1477 samsung-galaxy-watch6-classic-ar-3 166
2107 xiaomi-watch-s4-ar 166/322/340
2108 xiaomi-watch-s4-ar-3 166
2109 xiaomi-watch-s4-ar-2 166
2110 redmi-watch-5-ar 166/322/340
2111 redmi-watch-5-ar-3 166
2112 redmi-watch-5-ar-2 166
2113 redmi-watch-5-lite-ar 166/322/340
2114 redmi-watch-5-lite-ar-2 166
2247 redmi-watch-5-active-ar 166/322/340
2248 redmi-watch-5-active-ar-2 166
3066 huawei-watch-d2-ar 166/322/471
3067 هواوي-واتش-دي-2 166/322/471
3069 huawei-watch-fit-4-ar 166/322/471
3070 هواوي-واتش-فيت-4-ar 166/322
3071 هواوي-واتش-فيت-4 166/322
3072 هواوي-ووتش-فيت-4 166/322
3073 huawei-watch-fit-4-pro-ar 166/322/471
3075 هواوي-واتش-فيت-4-برو-ar 166/322/471
3076 هواوي-واتش-فيت-4-برو 166/322/471
3078 huawei-watch-gt5-41mm-ar 166/322/471
3079 هواوي-واتش-جي-تي-5-41-ملم 166/322/471
3080 هواوي-واتش-جي-تي-5-41-ملم-ar-2 166/322/471
3081 huawei-watch-gt5-46mm-ar 166/322/471
3082 هواوي-واتش-جي-تي-5-46-ملم 166/322/471
3083 هواوي-ووتش-جي-تي-5-مقاس-46مم 166/322/471
3084 huawei-watch-gt5-pro-46mm-ar 166/322/471
3085 هواوي-ووتش-جي-تي-5-برو-مقاس-46مم 166/322
3602 هواوي-واتش-جي-تي-5-41-ملم-ar 166/322/471
4808 ساعة-سامسونج-جالاكسي-7 166
4809 ساعة-سامسونج-جالاكسي-7-ar-2 166
4810 ساعة-سامسونج-جالاكسي-7-ar 166
4812 samsung-galaxy-watch-7-ar-5 166/322/324
7740 xiaomi-watch-2-pro-ar-2 166/322/340
7741 xiaomi-watch-2-pro-ar 166/322/340
9646 apple-watch-ultra-3-gps-cellular-49mm-titanium-trail-loop-smartwatch-ar-2 166/322/323
9647 أبل-ووتش-ألترا-٣-ذكية-جي-بي-إس-واتصال-خلوي-مقاس-٤٩-مم-تيتانيوم-بسوار-تريل 166/322/323
9648 apple-watch-ultra-3-gps-cellular-49mm-titanium-alpine-loop-smartwatch-ar 166/322/323
9649 أبل-ووتش-ألترا-٣-ذكية-جي-بي-إس-واتصال-خلوي-مقاس-٤٩-مم-تيتانيوم-بسوار-ألباين 166/322/323
9653 apple-watch-series-11-gps-aluminium-case-with-sport-band-smartwatch-ar 166/322/323
9654 أبل-ووتش-سيريس-11-جي-بي-إس-بهيكل-ألومنيوم-مع-سوار-رياضي-ar-4 166/322/323
9655 أبل-ووتش-سيريس-11-جي-بي-إس-بهيكل-ألومنيوم-مع-سوار-رياضي-ar-3 166/322/323
9656 أبل-ووتش-سيريس-11-جي-بي-إس-بهيكل-ألومنيوم-مع-سوار-رياضي 166/322/323
9657 أبل-ووتش-سيريس-11-جي-بي-إس-بهيكل-ألومنيوم-مع-سوار-رياضي-ar-6 166/322/323
9658 أبل-ووتش-سيريس-11-جي-بي-إس-بهيكل-ألومنيوم-مع-سوار-رياضي-ar-5 166/322/323
9659 أبل-ووتش-سيريس-11-جي-بي-إس-بهيكل-ألومنيوم-مع-سوار-رياضي-ar-2 166/322/323
9660 أبل-ووتش-سيريس-11-جي-بي-إس-بهيكل-ألومنيوم-مع-سوار-رياضي-ar 166/322/323
9868 apple-watch-se-3-gps-with-sport-band-smartwatch-ar 166/322/323
9869 أبل-ووتش-إس-إي-٣-جي-بي-إس-مع-سوار-رياضي 166/322/323
9870 apple-watch-se-3-gps-with-sport-band-smartwatch-ar-2 166/322/323
9871 apple-watch-se-3-gps-with-sport-band-smartwatch-ar-3 166/322/323
10276 xiaomi-redmi-mi-watch-2-lite-ar 166/322/340
10277 شاومي-ريدمي-مي-واتش-2-لايت 166/322/340
10278 شاومي-ريدمي-مي-واتش-2-لايت-ar 166/322/340
10347 ناثينغ-سي-إم-إف-ووتش-برو-إن-تي-إل-رمادي-معدني-ar 166/322
10348 ناثينغ-سي-إم-إف-ووتش-برو-إن-تي-إل-رمادي-معدني-ar-2 166/322