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