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