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