Traditional direct debit payment takes around 20 seconds or so.
An experienced cashier is much faster in giving you your change if you pay cash.
There is a newish "instant" payment with NFC chips, that doesn't require a PIN or a signature if you pay less than 20 €. It's much faster (maybe 5 seconds?), but it's not available everywhere yet. Certainly not at shops where you typically only spend small amounts (bakery, small Asian fast-food places etc.).