Even with contactless, I always feel kind of bad to be paying by card at the super market because I'm slowing the queue down. If the amount goes over 20 euros or so and I have to enter my PIN, it's even slower. It's not even a contest compared to cash.
Where are you buying that has payment queues but doesn't scan the products? I only see people inputting the amount manually in restaurants/bars.
You can't consider the time it takes to enter the amount only in the case that suits you. If you have to enter the amount for cash, you have to enter it for the card as well.
Now that I think of it, I guess not all POSs require that (the cashier does the calculation for the change in their head), but in my experience they aren't common.
But yes, when the PIN comes into play it's slower than cash.