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