Use SQL TOP instead of MySQL LIMIT