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