All of the followings work, but which of them is 'cheaper' regarding to efficiency and system resource:
SELECT count(*) FROM table WHERE (uri LIKE '%pagename.htm')
SELECT count(*) FROM table WHERE (uri = '/path/directory/pagename.htm')
SELECT count(*) FROM table WHERE (uri REGEXP '^/path/directory/pagename.htm\$')