Change WordPress prefix for only one table?

In wp-config.php for your second site, define the following two constants:

define('CUSTOM_USER_TABLE', 'yourfirstprefix_users');
define('CUSTOM_USERMETA_TABLE', 'yourfirstprefix_usermeta');

You’ll have to add some custom logic to your second site limiting logins by user role.