SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52cef35ed72b67485d5b46b77a95b11d6e20f8cd4abf13a626daeeaec8144ec2' 
  AND token = 'X5hXO7DjKtPxie0eZ0oqNM3rbMVEBPe2HQSHjBk368o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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