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 (
    5247, 5915, 4755, 5203, 4762, 5246, 5960, 
    5823, 5214, 5959, 5252, 5199, 10177, 
    5931, 8812, 8800, 8576, 8577, 10192, 
    8569, 10159, 10273, 10096
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00167

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.36"
    },
    "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": 28,
      "rows_produced_per_join": 28,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_seo_names`.`object_id` in (5247,5915,4755,5203,4762,5246,5960,5823,5214,5959,5252,5199,10177,5931,8812,8800,8576,8577,10192,8569,10159,10273,10096)) 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": "15.56",
        "eval_cost": "2.80",
        "prefix_cost": "18.36",
        "data_read_per_join": "47K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
4755 ubiq-edge-switch-48port-500w 250/402/405/410
4762 ubiq-lap-gps-eu 250/402/407/413
5199 ubiq-unifi-u6-plus 250/402/407/412
5203 ubiq-unifi-u6-lr 250/402/407/412
5214 ubiq-unifi-u7-lite 250/402/407/412
5246 ubiq-unifi-u7-outdoor 250/402/407/413
5247 ubiq-unifi-uap-ac-mesh 250/402/407/413
5252 ubiq-usw-pro-8-poe-eu 250/402/405/410
5823 mikrotik-ccr2216-1g-12xs-2xq 166/328/341
5915 mikrotik-rb4011igs5hacq2hnd-in 166/328/341
5931 mikrotik-basebox-5-rb912uag-5hpnd-out 166/328/359/361
5959 mikrotik-qrt-5-rb911g-5hpnd-qrt 166/328/359/361
5960 mikrotik-rb1100-ahx4-dude-edition 166/328/341
8569 hama-d3045054-cat-6-pimf-gold-plated-double-shielded-network-cable-5-m-length 166/328/543/343
8576 hama-200687-network-cable-cat-6a-10-gbit-s-u-utp-flat-15-00-m 166/328/543/343
8577 hama-200693-network-cable-cat-8-40-gbit-s-s-ftp-shielded-halogen-free-3-m 166/328/543/343
8800 hama-d3045053-cat-6-pimf-gold-plated-double-shielded-network-cable-3-m 166/328/543/343
8812 hama-200322-usbc-network-adapter-gigabit-ethernet 166/328/543/567
10096 xiaomi-mi-router-4a-gigabit-edition 250/402
10159 xiaomi-mi-wifi-range-extender-ac-1200-ra75-black-eu 250/402/439
10177 شاومي-واي-فاي-رينج-إكستاندر-إن٣٠٠ 250/402/439
10192 شاومي-ميش-سيستم-إيه-إكس٣٠٠٠-إن-إي-١-قطعة-إي-يو 166/328/341
10273 xiaomi-router-ax3200-eu 250/402/404