my MySQL table is in this structure:

```
|id|title|duration|thumb|videoid|tags|category|views
|1||Video Name|300|thumb1.jpg|134|tag1|tag2|tag3|category|15
|2||Video Name2|300|thumb2.jpg|1135|tag2|tag3|tag4|category|10

```

Table contains about 317k rows.

Query is:

```
SELECT id,title,thumb FROM videos WHERE tags LIKE '%$keyword%' or title LIKE '%$keyword%' order by id desc limit 20

```

And this is taking 0.8s to 3s to load results.

Im new in php/mysql, how can I speed up these queries, suggestions please, thank you.