The Query:
SELECT * FROM `records` WHERE `CatID` = '50' AND '/cat.php'='/cat.php'
Caused the following error: