SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}Linnich{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}' OR prCity = 'Linnich' OR prZip = 'Linnich' OR prStreet LIKE '{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}Linnich{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}' OR prCountry = 'Linnich') AND (prLocation LIKE '{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}/{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}/{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}' OR prCountry = '/') AND (prLocation LIKE '{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}Welz{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}' OR prCity = 'Welz' OR prZip = 'Welz' OR prStreet LIKE '{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}Welz{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}' OR prCountry = 'Welz') AND (prLocation LIKE '{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}Germany{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}Germany{77c7e9c367532da60d4a43c8725e419d2452fe3c8d75ae4d75c0427cb2266bc6}' OR prCountry = 'Germany')