This article explain you to use MySQL string function find_in_set
Read this post on thecreativedev.com