SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e0d209c64de22915c6cec5417d35ea9095e8c1a7cd8ad4bc64099cb83ad3175' 
  AND token = 'NJ71FOJYvAZrxNTNC7Jb1+5t/Hhyv3hF5BV7Yf/3PAM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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