SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd677a80c2cded6fb3faf6504648904a71e6608816b45fb0158176ab577e83d16' 
  AND token = '4s8sJMyT6uIs8zCeOhtvH4Iup21hNs1F1XQJ5bTLv4s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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