Using a UNIQUE KEY on relation tables for better performance