Use raw statements query if exists and add prefix as request param.