SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a84c25764e7db168104f25fb913833c2747a521921db66ee5c07f059d9acac5b' 
  AND token = '37FdQpFTtf/5LxxSMr2OiEQyndp/xXbroVaACUhqT90=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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