GRANT USAGE ON *.* TO 'sats-set-unlock'@'localhost';
GRANT SELECT (id_machine), UPDATE (unlock_code) ON `logauth`.`machine` TO 'sats-set-unlock'@'localhost';