SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9d1a5d4c90c34997ce49fab44d526967602646ffa83ba31b762dc8785a22fd3' 
  AND token = '5Z7rQg5/C295RHGiNNQTcyVx7j+Hno6MEjitVQpIyYQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}