SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9d7d63a3451354a5c0625d143f976db3697a18a2ed53bb524b9d0510b783b74' 
  AND token = 'QVFxcbkFC3LqGb7RCnV+PX5o0fx14ReKB5JaMNwbUsI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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