يونيون إسبانيولا
During the 2005 Apertura, Miranda played a key role in guiding Unión Española to the 2005 Torneo Apertura. However, Miranda had already agreed a loan to Red Bull Salzburg of Austria for the rest of the 2005-2006 European season, preventing him in partaking in the 2005 Apertura play-offs, where Unión Española won their sixth national title in team history. Miranda made only 4 appearances for Salzburg before returning to Unión Española after the season's end. In 2006, he stayed with Unión Española throughout the 2006 Apertura before being sold to rivals Universidad Católica at the start of the 2006 Clausura.