SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd20bb460ba713d88365264f1ac7060cd7631936e6d52003a715d065ab71dc951' 
  AND token = 'cRJ3N7LhU+J8HRd3N+1jpn4YV46/bsf7obou4vNsqB4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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