SELECT 
  seo_names.object_id AS product_id, 
  seo_names.name AS seo_name, 
  seo_names.path AS seo_path 
FROM 
  seo_names 
WHERE 
  seo_names.object_id IN (39852, 38603, 39853, 39875) 
  AND seo_names.type = "p" 
  AND seo_names.dispatch = "" 
  AND seo_names.lang_code = 'en'

Query time 0.00217

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.32"
    },
    "table": {
      "table_name": "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": 4,
      "rows_produced_per_join": 4,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "3.92",
        "eval_cost": "0.40",
        "prefix_cost": "4.32",
        "data_read_per_join": "6K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ],
      "attached_condition": "((`goimagine`.`seo_names`.`object_id` in (39852,38603,39853,39875)) and (`goimagine`.`seo_names`.`type` = 'p') and (`goimagine`.`seo_names`.`dispatch` = '') and (`goimagine`.`seo_names`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id seo_name seo_path
38603 custom-superhero-cape-personalized-cape-superhero-party-superhero-costume-super-hero-cape-kid-cape-superhero-mask-custom-cape 71/126
39852 custom-superhero-cape-personalized-cape-superhero-party-superhero-costume-super-hero-cape-kid-cape-superhero-mask-custom-cape-en 71/126
39853 personalized-cape-kids-cape-superhero-cape-superhero-cape-and-mask-cape-for-kids-superhero-party-favor-super-hero-cape 78/106
39875 big-brother-superhero-cape-super-big-brother-cape-big-brother-gift-personalized-cape-big-brother-little-brother-new-brother 71/126