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 (158712, 167590, 185125, 158695) 
  AND seo_names.type = "p" 
  AND seo_names.dispatch = "" 
  AND seo_names.lang_code = 'en'

Query time 0.00265

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.00"
    },
    "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.60",
        "eval_cost": "0.40",
        "prefix_cost": "4.00",
        "data_read_per_join": "6K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ],
      "attached_condition": "((`goimagine`.`seo_names`.`object_id` in (158712,167590,185125,158695)) 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
158695 breast-cancer-awareness-bear-resin-keychain-breast-cancer-survivor-fight-like-a-girl-go-pink-go-fight-win-october-goes-pink-pink-bear 2566
158712 bling-wine-glass-with-stem-blinged-wine-glass-rhinestone-wine-glass-fashionista-drinking-glass 2566
167590 class-of-2022-graduation-charm-bracelet 2/18/173
185125 marijuana-bracelet-peace-sign-charm-stoner-jewelry-pothead-life 2/18/173