Valencia is about 2 hours flying from cuatro vientos.
You can do the flying training with any of the schools, regardless of who and where you did the ATPL.
I have no idea of the flats, but if you know where they are, ie their addresses, I'm happy to give advice re getting to the airport from there.
AeroMadrids' distance ATPL course is only in Spanish and, despite what the website says, is not working at the moment. I know, because I'm trying to do it
Do NOT enrol with them for this, they're fine for other things though.