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