The query "SELECT * FROM x WHERE = 391239" will be faster than "SELECT * FROM x WHERE =" some-key ", which in turn will be faster than" SELECT * FROM x WHERE LIKE "% some-key% '"(having wild-cards is not going to make a lot of difference).
How much faster? Two times faster? - quite possibly. Ten times faster? stretching it, but possible. The real questions are: 1) does it matter and 2) if you even use LIKE in the first place.
1) Does it matter I probably would not say. If you really have 391,239+ unique articles / pages - and if you get a comparable level of traffic, then this is probably just one of the many scaling problems you are likely to encounter. However, I guarantee that this is not the case, and therefore you should not worry about millions of page views until you get 1 million and one.
2) If you even use LIKE No. If the title / title of the page / article is part of the "slug" URL, it must be unique. If this is not the case, then you shoot in the foot from the point of view of SEO and write yourself a nightmare for the main note. If the title / name is unique, you can simply use "WHERE title =" some-page "and make sure the header column has a unique index.
Edit
You plan on using LIKE for the URL completely crazy. What happens if someone visits
yoursite.com/articles/the
Are you returning a list of all pages starting with "the"? What happens if:
Author A creates
yoursite.com/articles/stackoverflow-is-massive
After 2 days, author B creates
yoursite.com/articles/stackoverflow-is-massively-flawed
Not only will A be very angry that his article will be welcomed, all the permalinks that may have been sent will be broken, and Google is never going to give your articles a reasonable page rank because the content continues to change and dilute effectively yourself.
Sometimes there is a pretty good reason why you have never seen your amazing new idea / function / invention / save time anywhere before.