SELECT p.iPostID, p.iPostType, p.iAdType, p.iUserType, p.strTitle, p.iSubType, p.iItemType, p.iPrice, p.iPriceUnit, json_unquote(p.jsonLocation->"$.city") AS city, p.jsonExtra, p.tmPosted, p.iShowImg, p.strImages, p.strVideos, p.strPostURL FROM posts p WHERE p.iActive=1 AND p.iPostType=1 AND iPostID IN (SELECT t.iPostID FROM posttext t WHERE t.iDomID=101 AND MATCH (t.strSearch) AGAINST ('+websites +for +homes +for +sale' IN BOOLEAN MODE)) AND iCityID IN (69650,68961,69971,70209,67548,68680,68586,67457,68678,69735,68755,67627,69468,69970,67497,68579,69245,69799,67714,67244) ORDER BY FIELD(iCityID, 69650,68961,69971,70209,67548,68680,68586,67457,68678,69735,68755,67627,69468,69970,67497,68579,69245,69799,67714,67244) ASC, p.tmPosted DESC LIMIT 24