SELECT * FROM `texts` WHERE `string` LIKE '%/a/b/c%'