Escorial is about 315 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Comillas.
How far is Hana from the ocean
How far is Cooperstown, NY from the ocean
How far is Palo Alto from the ocean
How far is Greenville, SC from the ocean
How far is Yuma from the ocean
How far is Mount Shasta, CA from the ocean
How far is Ouray from the ocean
How far is Burbank, CA from the ocean
How far is Orlando from the ocean
How far is Akumal from the ocean