SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e9ffa7800aea6e007a95f1739881da238a68b015cf75d1ab9b891e461c461906' 
  AND token = 'MywbC5Yrth06VNtT7Qh84rW7dgl+P3RHXRacK/LUtF8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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