SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7347abab0c25f5076b31ffc360e0df3475246f8ae07ce85ff7174fd6fcf6948' 
  AND token = '6t47E9Arhcvxta2cvG/VQ7cHVq0wN/d32xgNw3gEqJY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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