Create a new index on <%table%>
Select the Primary Key of the Related Table:
<%loop pks%> <%loop_value%> <%endloop%>