I want insert this math equation into my paper:

However, the part in the brackets make me confused. I google math equation in LaTeX but find no relavent information. This is what I alreadly have now:
$MR(e) = \Pi_{(R_{i}.ID, R_{j}.ID)}()$

Could you please help me to fill in the brackets.
