SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{31ced6a75b844a44ae3e4303e6b0b8224db236ac49586ece298ea99b61f03bab}Kamp-Lintfort{31ced6a75b844a44ae3e4303e6b0b8224db236ac49586ece298ea99b61f03bab}' OR prCity = 'Kamp-Lintfort' OR prZip = 'Kamp-Lintfort' OR prStreet LIKE '{31ced6a75b844a44ae3e4303e6b0b8224db236ac49586ece298ea99b61f03bab}Kamp-Lintfort{31ced6a75b844a44ae3e4303e6b0b8224db236ac49586ece298ea99b61f03bab}' OR prCountry = 'Kamp-Lintfort') AND (prLocation LIKE '{31ced6a75b844a44ae3e4303e6b0b8224db236ac49586ece298ea99b61f03bab}Germany{31ced6a75b844a44ae3e4303e6b0b8224db236ac49586ece298ea99b61f03bab}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{31ced6a75b844a44ae3e4303e6b0b8224db236ac49586ece298ea99b61f03bab}Germany{31ced6a75b844a44ae3e4303e6b0b8224db236ac49586ece298ea99b61f03bab}' OR prCountry = 'Germany')