SELECT user_ID, role FROM user_table
WHERE 1=1
AND login = '$login'
AND password = '$password';