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 (
    10427, 10470, 10359, 10361, 10376, 10390, 
    10426, 10429, 10451, 10537, 10540, 
    10360, 10367, 10374, 10377, 10382, 
    10386, 10389, 10409, 10421, 10423, 
    10456, 10465, 10469
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'ar'

Query time 0.00151

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.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": 26,
      "rows_produced_per_join": 26,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (10427,10470,10359,10361,10376,10390,10426,10429,10451,10537,10540,10360,10367,10374,10377,10382,10386,10389,10409,10421,10423,10456,10465,10469)) 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": "15.11",
        "eval_cost": "2.60",
        "prefix_cost": "17.71",
        "data_read_per_join": "44K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
10359 hausberg-hb-1311in-healthy-food-cooking-pot-5l-steel-ar 372/466
10360 hausberg-barbecue-grill-hb-537-ar 372/466/573
10361 hausberg-hb-540-electric-grill-set-with-stand-ar 372/466/573
10367 hausberg-hb-6004ab-personal-scale-ar 372
10374 hausberg-hb-3755-coffee-maker-stainless-steel-ar 372/552/556
10376 hausberg-hb-7545in-juicer-ar 372/466/574
10377 hausberg-hb-3770ng-coffee-maker-ar 372/552/556
10382 hausberg-hb-3645in-electric-steel-thermo-pot-ar 372/466/575
10386 hausberg-hb-7813mv-steam-iron-ar 372/587
10389 hausberg-hb-7840rs-steam-iron-ar 372/587
10390 hausberg-hb-7900ng-portable-steam-iron-ar 372/587
10409 hausberg-electric-steel-kettle-ar 372/466/575
10421 hausberg-hb-7676ng-blender-ar 372/466/574
10423 hausberg-hb-7545in-juicer-ar-2 372/466/574
10426 hausberg-hb-3455-meat-grinder-ar 372/466/574
10427 hausberg-hb-3460-meat-grinder-ar 372/466/574
10429 hausberg-lint-remover-with-battery-ar 372
10451 hausberg-hb-8501ab-electric-heater-with-internal-fan-for-efficient-heating-ar 372/566/597
10456 hausberg-hb-8570ng-carbon-heater-ar 372/566
10465 hausberg-hb-8910ng-oil-filled-radiator-heater-for-efficient-and-comfortable-warmth-ar 372/566/597
10469 hausberg-hb-h-309-pressure-cooker-9l-ar 372/572
10470 hausberg-hb-h-1705-electric-juicer-for-fresh-and-healthy-juices-ar 372/466
10537 hausberg-electric-air-fryer-with-double-basket-ar 372/466/467
10540 hausberg-glass-body-fat-scale-ar 372