SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{cb5c66eb8af98abed3c21b84cc75f0969c0abfb8e1b3d88591ae9e0e94064b05}Benitatxell{cb5c66eb8af98abed3c21b84cc75f0969c0abfb8e1b3d88591ae9e0e94064b05}' OR prCity = 'Benitatxell' OR prZip = 'Benitatxell' OR prStreet LIKE '{cb5c66eb8af98abed3c21b84cc75f0969c0abfb8e1b3d88591ae9e0e94064b05}Benitatxell{cb5c66eb8af98abed3c21b84cc75f0969c0abfb8e1b3d88591ae9e0e94064b05}' OR prCountry = 'Benitatxell') AND (prLocation LIKE '{cb5c66eb8af98abed3c21b84cc75f0969c0abfb8e1b3d88591ae9e0e94064b05}Spain{cb5c66eb8af98abed3c21b84cc75f0969c0abfb8e1b3d88591ae9e0e94064b05}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{cb5c66eb8af98abed3c21b84cc75f0969c0abfb8e1b3d88591ae9e0e94064b05}Spain{cb5c66eb8af98abed3c21b84cc75f0969c0abfb8e1b3d88591ae9e0e94064b05}' OR prCountry = 'Spain')