SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8450a22af4199da0b362e679f713f0c363be2432d85231b69c22b840297af8cf' 
  AND token = 'zv0oKyzEavRzCbx9aJEivAIHEeP3xM6nR0qCEMtcFzg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00063

JSON explain

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