There is a problem with the database

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '..CAN USE..1 - 02/200904 PISTON A..1 - 02/200192 RING SET', 1, 5),'%') and ca...' at line 1SELECT * from products WHERE name LIKE CONCAT(SUBSTR('02/200849 PISTON - AA BUILD' ..CAN USE..1 - 02/200904 PISTON A..1 - 02/200192 RING SET', 1, 5),'%') and category = 195 and id <> 984052 ORDER BY RAND() limit 3;