filter at sql level from config limits and a like