1064 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 'penis dildos" AND R_keysname LIKE "%5"%" and R_keysname LIKE "%penis%" and R_ke' at line 1
in:
[SELECT R_keysname FROM r_key WHERE R_keysname <> "5" penis dildos" AND R_keysname LIKE "%5"%" and R_keysname LIKE "%penis%" and R_keysname LIKE "%dildos%" ORDER BY R_count DESC LIMIT 0, 10]