SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}Weiden{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCity = 'Weiden' OR prZip = 'Weiden' OR prStreet LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}Weiden{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCountry = 'Weiden') AND (prLocation LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}i.{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCity = 'i.' OR prZip = 'i.' OR prStreet LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}i.{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCountry = 'i.') AND (prLocation LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}d.{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCity = 'd.' OR prZip = 'd.' OR prStreet LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}d.{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCountry = 'd.') AND (prLocation LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}OPf.{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCity = 'OPf.' OR prZip = 'OPf.' OR prStreet LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}OPf.{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCountry = 'OPf.') AND (prLocation LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}Germany{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}Germany{66735513301b341783a39d35968083feb0c480cd2456860416b103b594218aeb}' OR prCountry = 'Germany')