SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5f87833db2f9e186214ac4596edec7b892876a22a6dae03546957aef0bc5778' 
  AND token = '8OUqRZoVPymxlqbQU00gJqa7ARI9E66/OEDAi+o1ngs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}