Sampling requires copyright clearance. Flat.
The EU precedence is basically that if a sample can be recognised, then it is copyright infringing. That says exactly nothing about how long it is, and that is obviously an issue that scares the big records into legally checking everything, but just burns all the small ones into not sampling unless they're extremely certain.
The US precedence is that you require the original copyright holder to approve the sample and its size. Which is somewhat worse than the EU rulings.
So yes, legally speaking you’re supposed to pay royalties for playing 20 seconds of a song, or even 10, or 5. The only time at which you don’t have to is when there is no way for the rightsholder to confidently state that you’re using the piece they holds rights to.
Bob James successfully sued rappers using a single note sampled from his original songs.