SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b15d24aaab5ac7ecfdd6d1c958e2ddcfe44542fd45b263de8bde276f16125054' 
  AND token = 'uhs/KXJVgPR7FSWy0jjheS9VbJn942vw8Re8kjNElpQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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