Add indexes for foreign key fields