SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd54de11bcb0d18c48c5111caa84cd1cba69b3236556e2c24dab464a877626860' 
  AND token = '5P08nMgszJjBkQtskf1mrcinZ6KncjbqZBSmBnVVvXY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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