(Horizon Key isn't a spell.)
Horizon Key enters the battlefield tapped.
Sacrifice a land: You gain 1 life.
, Pay 1 life, Sacrifice Horizon Key: Search your library for a Plains or Island card and put it onto the battlefield, then shuffle your library.