In reply to Sorry Alex
I am not sure if you can do that in all areas of dolphin. But perhaps there is something your not aware of.

SELECT `ID` FROM `Profiles` WHERE `ID` = 10 LIMIT 1

That will return only the ID from the database where ID = 10. If dolphin needs any of the other profile fields other than the ID then that query will not be enough.
I didn't mean to simply every query by just ID, it was an example. The expressions can be rewritten to only columns needed. As an other example, I highly doubt accessdenied.php needs all other 51 default columns of data to find out if the person can view a page. A main issue is that they're calling to the database for every check, there isn't any sort of cache info used so on the home page each block makes its own call to the database, lots of it duplicating queries from other modules.
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.