SELECT * from ldap_users where login = (mechanism = 'PLAIN' AND SELECT * from foo where (hashed_password LIKE '%e1NTSEF9' AND if starts