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