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