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: Use words with all capital letters to highlight key points, but make sure that words with all capital letters appear less than 6 times
user