SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}Singen-Überlingen{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}' OR prCity = 'Singen-Überlingen' OR prZip = 'Singen-Überlingen' OR prStreet LIKE '{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}Singen-Überlingen{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}' OR prCountry = 'Singen-Überlingen') AND (prLocation LIKE '{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}am{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}' OR prCity = 'am' OR prZip = 'am' OR prStreet LIKE '{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}am{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}' OR prCountry = 'am') AND (prLocation LIKE '{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}Ried{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}' OR prCity = 'Ried' OR prZip = 'Ried' OR prStreet LIKE '{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}Ried{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}' OR prCountry = 'Ried') AND (prLocation LIKE '{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}Germany{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}Germany{12b7dd9d459c0731f5f5fec67c25dc52f03c7e2abcfa1c1ea1a002a83648f059}' OR prCountry = 'Germany')