Sorry I'm a bit behind heh
Torture is not reliable, but could yield result. The other option in my hypothetical, not torturing, is certain to kill 10 children.
(There are truth drugs, but I consider those just one of the tools of torture)
That makes things easier: Use drugs/sleep deprivation and other disgusting interrogation techniques to get the information (since in this hypothetical they give the only possibility of success).
I'd want to call those "enhanced interrogation techniques", except that my country poisoned that term with savage (yet less-lethal) torture like waterboarding.
In both cases we have to consider the effects of policy. If a state is allowed to extract information via drugs and various non-violent coercions, how does that affect the relationship between people and their government? It seems like a threat to a free democracy if a SUSPECT can be interrogated in such a way. Even if the information is inadmissible in court, only used for contrived Twenty-Four-style rescues, it's still a chilling violation of privacy and bodily autonomy.
I can't say how far I'd stretch my morality in order to save a loved one (though I hope I'd be pragmatic rather than bloodthirsty, using negotiation and nonviolent coercion if appropriate). And yet my government "doesn't negotiate with terrorists" and absolutely cannot be allowed to torture people, because the consequences of those policies are disastrous. Likewise, I would need to be held liable for breaking the law on behalf of my loved ones, because otherwise vigilantism runs free.
But yeah torture is mostly useless anyway outside the hypothetical
tldr edit: I might interrogate someone (or punch a Nazi) and face the legal consequences, but it's
never okay for it to become accepted policy.