Checked toyota and mazda websites and here are the interesting comparisons.
CX-7 VS RAV 4
1.495m VS 1.855m
2.5Ltr (163hp/205NM) vs 2.4Ltr (170hp /224NM)
MacPHERSON/MULTILINK VS MacPHERSON/double wishbone
5 SPEED AT VS 4SPEED AT
both have 17" rims
4 speaker audio VS 6 speaker audio
--

For me, its the CX7. 300k difference means more money on additional accessories/toys.