SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02f5aefc01e6ebcb6fd1ab111393bfa7383cf0b8754fdd589ce411e69b82bf34' 
  AND token = 'DEhDNBbljpW+t24PuFNcmW2fm87RMC3F8opPASXCDcQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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