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 (
    5921, 5559, 5582, 5563, 5577, 5789, 5777, 
    5787, 5913, 5583, 5560, 5562, 5916, 
    5579, 5584, 5773, 5865, 5867, 6334, 
    5786, 6493, 5963, 5863, 6345
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00106

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.06"
    },
    "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": 29,
      "rows_produced_per_join": 29,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (5921,5559,5582,5563,5577,5789,5777,5787,5913,5583,5560,5562,5916,5579,5584,5773,5865,5867,6334,5786,6493,5963,5863,6345)) 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": "16.16",
        "eval_cost": "2.90",
        "prefix_cost": "19.06",
        "data_read_per_join": "49K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
5559 trisa-refrigerator-frescolino-classic-107l-red-clone 372/572/582
5560 trisa-refrigerator-frescolino-classic-107l-black-clone 372/572/582
5562 trisa-refrigerator-frescolino-classic-281l-black-clone 372/572/582
5563 trisa-refrigerator-frescolino-classic-281l-red-clone 372/572/582
5577 trisa-fridge-frescolino-classic-300l-red-clone 372/572/582
5579 trisa-combi-fridge-378l-inox-clone-en 372/572/582
5582 trisa-side-by-side-fridge-592l-inox-clone 372/572/582
5583 trisa-food-center-492l-inox-clone 372/572/582
5584 trisa-food-center-492l-inox-black-clone 372/572/582
5773 trisa-fridge-frescolino-classic-300l-black-clone 372/572/582
5777 samsung-single-door-refrigerator-with-no-frost-technology-clone-en 372/572/582
5786 samsung-french-door-refrigerator-466l-clone 372/572/582
5787 samsung-french-door-refrigerator-466l-clone-en 372/572/599
5789 samsung-cooker-hood-with-washable-aluminum-filter-clone 372/572/599
5863 lg-top-freezer-refrigerator-total-capacity-of-630-liters-inverter-linear-compressor-door-to-door-cooling-and-hygiene-fresh-technology-platinum-silver-color 372/572/582
5865 lg-side-by-side-611l-refrigerator-uvnano-linearcooling-thinq-platinum-silver 372/572/582
5867 lg-384l-linearcooling-1-door-refrigerator-in-stainless-steel-finish 372/572/582
5913 lg-quadwash-dishwasher-14-place-settings-easyrack-plus-inverter-direct-drive 372/572/584
5916 lg-quadwash-dishwasher-easyrack-plus-inverter-direct-drive-thinq 372/572/584
5921 lg-quadwash-steam-dishwasher-14-place-settings-easyrack-plus-inverter-direct-drive-thinq-black-stainless-color 372/572/584
5963 lg-built-in-900-gas-cooktop-5-burners-stainless-steel 372/572/592/594
6334 tcl-f190cfg-6-ft-chest-freezer-gray 372/572/582
6345 tcl-refrigerator-p615tmss-20ft-top-mount-no-frost-silver 372/572/582
6493 toshiba-refrigerator-gr-rs780we-pgf-22 372/572/582