SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '542d56f76b1c7bfa13e67eabcdc2f1436305f90af4d8848d9dbb9df7df48c5d9' 
  AND token = 'NbgEh9ieTu3hzZAwjDb+E64icGwsalhmxnxQdrNtKkI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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