By the time you land and transfer to the AMS you will not have time to go in the lounge and shower I am pretty sure of that. Iberia flights in Europe are pretty awful on horrible planes with no legroom, even in business class. Make sure you have masks to wear in MAD and also AMS. All be it last weekend in AMS there are so many staff and crew walking around with masks around their necks as no one seems to give a **** about the virus in Netherlands.