Mysql Use Variable In Query Which Filter