did some finalization of sql schema. and in my attempt to improve the query performance by creating a stored procedure for each view, i had seem to created another big problem.
The cpu load during my test goes as high as 99%. This is bad. Average query time now stands at 0.52 seconds.
I am currently conducting more test and optimize the solution, which otherwise seems to be great.