SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ffbe28314c0d545fefff64e5210d0eddd70f7cf9dd9f1bcf03b15dcf16857cec' 
  AND token = 'EyMRCv8laS87lCiM/EXERo9eRSBv3JlG6gO2+jvWo70=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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