tstuempfig1 and yes i switched the user to LDAP, with mailcow auth it works
I just had a look at the code: there is no SQL fallback. If you set the user to LDAP it uses LDAP, so you are not able to use the SQL password at all. So please check the user again.
Also, regarding your filters: %u, %s etc is not a variable here, it is used as literal string. So leaving the filter emtpy is ok, it just selects all users then.