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