Support VARCHAR equal in WHERE for ORDER BY LIMIT optimization