SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c05f57b46f3e52967ddacf029b0b93fbc280ec1e587abad8c1dc76c9a7c2a966}Diemelsee{c05f57b46f3e52967ddacf029b0b93fbc280ec1e587abad8c1dc76c9a7c2a966}' OR prCity = 'Diemelsee' OR prZip = 'Diemelsee' OR prStreet LIKE '{c05f57b46f3e52967ddacf029b0b93fbc280ec1e587abad8c1dc76c9a7c2a966}Diemelsee{c05f57b46f3e52967ddacf029b0b93fbc280ec1e587abad8c1dc76c9a7c2a966}' OR prCountry = 'Diemelsee') AND (prLocation LIKE '{c05f57b46f3e52967ddacf029b0b93fbc280ec1e587abad8c1dc76c9a7c2a966}Germany{c05f57b46f3e52967ddacf029b0b93fbc280ec1e587abad8c1dc76c9a7c2a966}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{c05f57b46f3e52967ddacf029b0b93fbc280ec1e587abad8c1dc76c9a7c2a966}Germany{c05f57b46f3e52967ddacf029b0b93fbc280ec1e587abad8c1dc76c9a7c2a966}' OR prCountry = 'Germany')