In a 2013 interview with BuzzFeed, writer Aaron Guzikowski revealed there was a version where Loki found Keller.

“They move the car. They see he’s down there. You know he’s going to be taken out of the hole,” Aaron said. “I like it much better being ambiguous. Even though you assume that’s what’s probably going to happen, I like that there’s a small chance that he’s not going to get him out of there for whatever reason.”

Source: https://www.distractify.com/p/prisoners-movie-ending-explained