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