I think the answer should be easy but I can't find it.
maybe I've been put in the wrong direction finding sites telling how to clear my flood table like so:
drush php-eval 'db_query("DELETE FROM `flood`");'
But I think is should be like this so it also works for prefixed tables:
drush php-eval 'db_query("DELETE FROM `{flood}`");'
Or does db_query() works different in drush php-eval? As far as I know it just executes php but does it has the drupal 'library' available or not?
Now I could just try and see what happens but I think it's good to really know if there's a difference or not in running db_query() from drush or from code.