I am proving that every element of $M^{-1}R$ is either a zero divisor or a unit.
Here is my proof:
Suppose $[\frac{x}{y}]$ isn't a zero divisor or 0 element in the ring. This means $x \neq 0$. Also, we have the property that for all $[\frac{k}{m}] \neq [\frac{0}{1}]$ we have $[\frac{x}{y}][\frac{k}{m}] \neq [\frac{0}{1}]$. In particular we have that $[\frac{x}{y}][\frac{y}{x}] \neq [\frac{0}{1}]$. Then, $[\frac{xy}{yx}] = [\frac{1}{1}]$, as one can easily verify.
To be able to write $[\frac{y}{x}]$, you must have first shown that $x$ is not a zero divisor.
But it is easy to rule that out: if $xz=0$ for some nonzero $z$, then compute $[\frac{x}{y}][\frac{z}{1}]$.
You could also pursue the problem this way, since the set of regular elements (= non zerodivisors) is closed under multiplication:
$\frac{x}{y}$ is regular $\iff \frac{x}{y}y$ is regular $\iff x\in M\iff \frac{x}{y}$ is a unit (having inverse $\frac{y}{x}$ as you wanted.)