fix indentation and simplify flow control slightly

************* Module salt.modules.mysql
salt/modules/mysql.py:1163: [W0311(bad-indentation), ] Bad indentation. Found 20 spaces, expected 16
salt/modules/mysql.py:1164: [W0311(bad-indentation), ] Bad indentation. Found 24 spaces, expected 20