[api] speeding up the request search from timeout to < 1 second when having 30 requests with multiple actions and reviews.

The "SELECT DISTINCT" got dropped by activerecord before on exection. Even though
it claimed to use when debugging with .to_sql. Dunno how to create a test case for
this without grepping over the logfile.