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