tipo così?

Codice PHP:
$query "SELECT Nick,Stato,Simbolo,Status,Ultima,Ultima_Arma,Salute FROM pgu WHERE Nick='$user_id' AND  NOW() - UNIX_TIMESTAMP(Ultima)>600"$result mysql_query($query$db);
$wer mysql_fetch_array($result); 
solo che ora che fo? cioè se la condizione l'ho sostituita con la clausola nella query, come faccio a farla?
faccio if($results) { ???