From the following user request, compose a SQL query to search a database of Resposts. The database/table has these columns:
- Cost
= Location
- IsNearBeach
- IsDogFriendly
- HasEarlyCheckin //Boolean
- Ratings: //1-5 rating

Write a SQL, representing a USER request for: Any recommendations for 5 star hotels near the beach?
====
SQL Query: