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