SELECT COUNT(uibox_id) as counter
                  FROM `zcache_UiBox_11_hu`
                 WHERE  AND `uibox_class` = :uibox_class_0
                 
Array
(
    [0] => 42000
    [1] => 1064
    [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND `uibox_class` = ?' at line 3
)