string(862) "SELECT COUNT(*) AS count,
sqrt(pow(69*(classifieds.lat - 55.61562), 2) + pow(42.5*(classifieds.lon - -4.66489), 2)) AS distance
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('55.61562' - 50/69.0) AND ('55.61562' + 50/69.0)) AND (classifieds.lon BETWEEN ('-4.66489' - 50/42.5) AND ('-4.66489' + 50/42.5)) AND classifieds.make = "honda" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 125000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
HAVING distance <= '50'
"
string(1164) "SELECT classifieds.*,
classifieds.seller as user_name,
NULL as user_email,
NULL as seller_id,
sqrt(pow(69*(classifieds.lat - 55.61562), 2) + pow(42.5*(classifieds.lon - -4.66489), 2)) AS distance , 0 AS title_match, 0 AS desc_match
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('55.61562' - 50/69.0) AND ('55.61562' + 50/69.0)) AND (classifieds.lon BETWEEN ('-4.66489' - 50/42.5) AND ('-4.66489' + 50/42.5)) AND classifieds.make = "honda" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 125000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
GROUP BY classifieds.id
HAVING distance <= '50' ORDER BY posted DESC, (title_match+desc_match) DESC LIMIT 0,20"
string(862) "SELECT COUNT(*) AS count,
sqrt(pow(69*(classifieds.lat - 55.61562), 2) + pow(42.5*(classifieds.lon - -4.66489), 2)) AS distance
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('55.61562' - 90/69.0) AND ('55.61562' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.66489' - 90/42.5) AND ('-4.66489' + 90/42.5)) AND classifieds.make = "honda" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 125000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
HAVING distance <= '90'
"
string(1164) "SELECT classifieds.*,
classifieds.seller as user_name,
NULL as user_email,
NULL as seller_id,
sqrt(pow(69*(classifieds.lat - 55.61562), 2) + pow(42.5*(classifieds.lon - -4.66489), 2)) AS distance , 0 AS title_match, 0 AS desc_match
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('55.61562' - 90/69.0) AND ('55.61562' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.66489' - 90/42.5) AND ('-4.66489' + 90/42.5)) AND classifieds.make = "honda" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 125000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
GROUP BY classifieds.id
HAVING distance <= '90' ORDER BY posted DESC, (title_match+desc_match) DESC LIMIT 0,20"
string(862) "SELECT COUNT(*) AS count,
sqrt(pow(69*(classifieds.lat - 55.61562), 2) + pow(42.5*(classifieds.lon - -4.66489), 2)) AS distance
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('55.61562' - 90/69.0) AND ('55.61562' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.66489' - 90/42.5) AND ('-4.66489' + 90/42.5)) AND classifieds.make = "honda" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 187500) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
HAVING distance <= '90'
"
string(1164) "SELECT classifieds.*,
classifieds.seller as user_name,
NULL as user_email,
NULL as seller_id,
sqrt(pow(69*(classifieds.lat - 55.61562), 2) + pow(42.5*(classifieds.lon - -4.66489), 2)) AS distance , 0 AS title_match, 0 AS desc_match
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('55.61562' - 90/69.0) AND ('55.61562' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.66489' - 90/42.5) AND ('-4.66489' + 90/42.5)) AND classifieds.make = "honda" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 187500) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
GROUP BY classifieds.id
HAVING distance <= '90' ORDER BY posted DESC, (title_match+desc_match) DESC LIMIT 0,20"
string(862) "SELECT COUNT(*) AS count,
sqrt(pow(69*(classifieds.lat - 55.61562), 2) + pow(42.5*(classifieds.lon - -4.66489), 2)) AS distance
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('55.61562' - 90/69.0) AND ('55.61562' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.66489' - 90/42.5) AND ('-4.66489' + 90/42.5)) AND classifieds.make = "honda" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 187500) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
HAVING distance <= '90'
"
string(1164) "SELECT classifieds.*,
classifieds.seller as user_name,
NULL as user_email,
NULL as seller_id,
sqrt(pow(69*(classifieds.lat - 55.61562), 2) + pow(42.5*(classifieds.lon - -4.66489), 2)) AS distance , 0 AS title_match, 0 AS desc_match
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('55.61562' - 90/69.0) AND ('55.61562' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.66489' - 90/42.5) AND ('-4.66489' + 90/42.5)) AND classifieds.make = "honda" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 187500) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
GROUP BY classifieds.id
HAVING distance <= '90' ORDER BY posted DESC, (title_match+desc_match) DESC LIMIT 0,20"
Cheap Honda Cars For Sale In Irvine, Ayrshire And Arran With Less Than 125,000 Miles And Valid MOT | Cheapmoto.co.uk