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