You can do this using ORDER BY with the right keys. In MySQL, you can:
ORDER BY (category = 'car') DESC, (title = 'car') DESC, (description = 'car') DESC
MySQL treats logical expressions as integers in a numeric context, with 0 for false and 1 for true. Thus, DESC first installs the true versions.
You can also simplify the WHERE if you want:
WHERE 'car' IN (category, title, description)
source share