SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be5ef5d46b209bd04a76d964bc56752e76e32e3a589675ccc515dacacf7a03eb' 
  AND token = 'u8XE2I4AF/NLX5QAZqcQ4GTbidRI+0JcwBHuRSmE01w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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