SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}Wennigsen{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}' OR prCity = 'Wennigsen' OR prZip = 'Wennigsen' OR prStreet LIKE '{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}Wennigsen{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}' OR prCountry = 'Wennigsen') AND (prLocation LIKE '{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}(Deister){24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}' OR prCity = '(Deister)' OR prZip = '(Deister)' OR prStreet LIKE '{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}(Deister){24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}' OR prCountry = '(Deister)') AND (prLocation LIKE '{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}Germany{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}Germany{24a997070b48258a60ee86fe767554247ee7dc893530f8750d1fade20c239d04}' OR prCountry = 'Germany')