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 El Paso from the ocean
How far is West Yellowstone from the ocean
How far is Sacramento from the ocean
How far is Green Bay from the ocean
How far is Carmel By the Sea from the ocean
How far is Lexington from the ocean
How far is Lake Tahoe from the ocean
How far is Grand Junction, CO from the ocean
How far is Avila Beach from the ocean
How far is Wurzburg from the ocean