Efficiency: Num vs Char

Hypothetically, what is the speed difference in evaluating a WHERE clause using a number vs. a character? For instance:

  1. Select * WHERE key = “xyz”; vs.
  2. Select * WHERE key = 1234;

The context is this: I want to generate a unique email message to a user on my website every time a new row is placed in a database under that username. This message should have a link directly to a page that will display the data from this row, such as:
[I][URL]http://mysite.com/display.php?row=98765[/URL][/I]
In order to keep this reasonably private, I want to generate a unique key as part of the row and include this in the URL sent in the email, such as:
[I][URL]http://mysite.com/display.php?row=98765&key=123[/URL][/I]
I anticipate activity spikes, so making the verification as efficient as possible is important.

Lookup by integer is of course more efficient it is smaller index and comparison is faster. However for single row lookup difference may not be that large.

Also note you may use int/bigint in the database but pass some encrypted string to the client if you do not want people guessing IDs etc.