Add example of using SQL function inside a where clause

Based on https://github.com/cakephp/cakephp/issues/5331