SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{09c9fa31d3d06f935c53b79e2e7316160f413c42efa167458e569a28c6e633ec}Catral{09c9fa31d3d06f935c53b79e2e7316160f413c42efa167458e569a28c6e633ec}' OR prCity = 'Catral' OR prZip = 'Catral' OR prStreet LIKE '{09c9fa31d3d06f935c53b79e2e7316160f413c42efa167458e569a28c6e633ec}Catral{09c9fa31d3d06f935c53b79e2e7316160f413c42efa167458e569a28c6e633ec}' OR prCountry = 'Catral') AND (prLocation LIKE '{09c9fa31d3d06f935c53b79e2e7316160f413c42efa167458e569a28c6e633ec}Spain{09c9fa31d3d06f935c53b79e2e7316160f413c42efa167458e569a28c6e633ec}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{09c9fa31d3d06f935c53b79e2e7316160f413c42efa167458e569a28c6e633ec}Spain{09c9fa31d3d06f935c53b79e2e7316160f413c42efa167458e569a28c6e633ec}' OR prCountry = 'Spain')